[python-firkin] * Fri May 11 2012 Fabian Affolter <mail at fabian-affolter.ch> - 0.02-5 - Minor changes

Fabian Affolter fab at fedoraproject.org
Fri May 11 11:50:42 UTC 2012


commit 7899277af15f8a0ec193d9579d6e467e5ed835a2
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date:   Fri May 11 13:50:31 2012 +0200

    * Fri May 11 2012 Fabian Affolter <mail at fabian-affolter.ch> - 0.02-5
    - Minor changes

 python-firkin.spec |   26 +++++++-------------------
 1 files changed, 7 insertions(+), 19 deletions(-)
---
diff --git a/python-firkin.spec b/python-firkin.spec
index ad7f7f1..b82615c 100644
--- a/python-firkin.spec
+++ b/python-firkin.spec
@@ -1,26 +1,21 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
 Name:           python-firkin
 Version:        0.02
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A python module to convert between different measurement units
 
 Group:          Development/Languages
 License:        GPLv2+
 URL:            http://www.florian-diesch.de/software/firkin/
 Source0:        http://www.florian-diesch.de/software/firkin/dist/firkin-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  python-devel
+BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 
-
 %description
 firkin is a python module to convert between different measurement
 units. 
 
-
 %prep
 %setup -q -n firkin-%{version}
 # Convert to utf-8
@@ -30,36 +25,29 @@ for file in README; do
     mv $file.new $file
 done
 
-
 %build
 %{__python} setup.py build
 
-
 %install
-rm -rf %{buildroot}
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
-
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %doc README PKG-INFO
 %{python_sitelib}/firkin.p*
 %{python_sitelib}/firkin*.egg-info
 
-
 %changelog
+* Fri May 11 2012 Fabian Affolter <mail at fabian-affolter.ch> - 0.02-5
+- Minor changes
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.02-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
 * Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 0.02-3
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 
-* Tue Feb 20 2010 Fabian Affolter <fabian at bernewireless.net> - 0.02-2
+* Tue Feb 20 2010 Fabian Affolter <mail at fabian-affolter.ch> - 0.02-2
 - Rebuild
 
-* Mon Jul 13 2009 Fabian Affolter <fabian at bernewireless.net> - 0.02-1
+* Mon Jul 13 2009 Fabian Affolter <mail at fabian-affolter.ch> - 0.02-1
 - Initial spec for Fedora


More information about the scm-commits mailing list