diff --git a/.gitignore b/.gitignore index c6d70c0..98d0be1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ pywbem-0.7.0.tar.gz +/pywbem-20130128.tar.xz diff --git a/pywbem.spec b/pywbem.spec index fe0de53..23d4161 100644 --- a/pywbem.spec +++ b/pywbem.spec @@ -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 0.7.0-8.20130128svn613 +- New upstream version. +- Added post-release snapshot version info. +- Removed obsoleted BuildRoot, + * Sat Jul 21 2012 Fedora Release Engineering - 0.7.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index b297b09..4a62a1c 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ f005a1862ea69b83f7c356552361f54d pywbem-0.7.0.tar.gz +475d987c127fa2e7e996bf72585922e0 pywbem-20130128.tar.xz