update to new upstream version (svn snapshot)

Resolves: 870046
Resolves: 896545
Resolves: 896541

Added post-release snapshot version info to release.
Removed BuildRoot tag.
This commit is contained in:
Michal Minar 2013-01-28 14:29:26 +01:00
parent 1887365505
commit d0182e50ce
3 changed files with 19 additions and 5 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
pywbem-0.7.0.tar.gz
/pywbem-20130128.tar.xz

View File

@ -1,13 +1,19 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%global svnrev 613
%global revdate 20130128
Name: pywbem
Version: 0.7.0
Release: 7%{dist}
Release: 8.%{revdate}svn%{svnrev}%{?dist}
Summary: Python WBEM Client and Provider Interface
Group: Development/Libraries
License: LGPLv2
URL: http://pywbem.sourceforge.net
Source0: http://downloads.sourceforge.net/pywbem/pywbem-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# The source for this package was pulled from upstream svn repository.
# Use the following commands to get the archive:
# svn export -r 613 https://pywbem.svn.sourceforge.net/svnroot/pywbem/pywbem/trunk pywbem-20130128
# tar -cJvf pywbem-20130128.tar.xz pywbem-20130128
Source0: %{name}-%{revdate}.tar.xz
BuildRequires: python-setuptools-devel
BuildArch: noarch
Requires: python-twisted-core
@ -27,7 +33,7 @@ It also provides a Python provider interface, and is the fastest and
easiest way to write providers on the planet.
%prep
%setup -q -n %{name}-%{version}
%setup -q -n %{name}-%{revdate}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
@ -38,18 +44,24 @@ rm -rf %{buildroot}
mkdir -p -m755 %{buildroot}%{_bindir}
mv %{buildroot}/%{python_sitelib}/%{name}/wbemcli.py %{buildroot}/%{_bindir}/pywbemcli
mv %{buildroot}/%{python_sitelib}/%{name}/mof_compiler.py %{buildroot}/%{_bindir}/mofcomp
rm %{buildroot}/%{python_sitelib}/%{name}/wbemcli.py[co]
rm %{buildroot}/%{python_sitelib}/%{name}/mof_compiler.py[co]
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%attr(755,root,root) %{_bindir}/mofcomp
%attr(755,root,root) %{_bindir}/pywbemcli
%doc README
%changelog
* Mon Jan 28 2013 Michal Minar <miminar@redhat.com> 0.7.0-8.20130128svn613
- New upstream version.
- Added post-release snapshot version info.
- Removed obsoleted BuildRoot,
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

View File

@ -1 +1,2 @@
f005a1862ea69b83f7c356552361f54d pywbem-0.7.0.tar.gz
475d987c127fa2e7e996bf72585922e0 pywbem-20130128.tar.xz