[python-mailer] * Mon Aug 26 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.7-6 - Spec file updated

Fabian Affolter fab at fedoraproject.org
Mon Aug 26 07:45:43 UTC 2013


commit daea2f17b87ff61dd085a62674b33eecd915050a
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date:   Mon Aug 26 09:45:27 2013 +0200

    * Mon Aug 26 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.7-6
    - Spec file updated

 python-mailer.spec |   23 ++++-------------------
 1 files changed, 4 insertions(+), 19 deletions(-)
---
diff --git a/python-mailer.spec b/python-mailer.spec
index 0a1ce13..c822c71 100644
--- a/python-mailer.spec
+++ b/python-mailer.spec
@@ -1,7 +1,3 @@
-%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%endif
-
 %global srcname mailer
 
 Name:           python-%{srcname}
@@ -13,43 +9,32 @@ Group:          Development/Languages
 License:        MIT
 URL:            http://pypi.python.org/pypi/mailer
 Source0:        http://pypi.python.org/packages/source/m/%{srcname}/%{srcname}-%{version}.zip
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  python-devel
+BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 
-
 %description
 Simple front end to the smtplib and email modules, to simplify
 sending email.
 
-
 %prep
 %setup -q -n %{srcname}-%{version}
 
-
 %build
 %{__python} setup.py build
 
-
 %install
-rm -rf %{buildroot}
 %{__python} setup.py install --skip-build --root %{buildroot}
 
-
-
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %{python_sitelib}/%{srcname}.py*
 %{python_sitelib}/%{srcname}*.egg-info
 
-
 %changelog
+* Mon Aug 26 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.7-6
+- Spec file updated
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list