[python-sleekxmpp] Cleanup spec file

fantom fantom at fedoraproject.org
Wed Jun 5 10:52:20 UTC 2013


commit 9b70d8756fe81b631245c5d21dbc6258deb4fdf6
Author: Matthieu Saulnier <fantom at fedoraproject.org>
Date:   Wed Jun 5 12:51:57 2013 +0200

    Cleanup spec file

 python-sleekxmpp.spec |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/python-sleekxmpp.spec b/python-sleekxmpp.spec
index 563d34a..4955ec4 100644
--- a/python-sleekxmpp.spec
+++ b/python-sleekxmpp.spec
@@ -1,13 +1,11 @@
 Name:		python-sleekxmpp
 Version:	1.1.11
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Flexible XMPP client/component/server library for Python
 
-Group:		Development/Languages
 License:	MIT
 URL:		https://github.com/fritzy/SleekXMPP
 Source0:	http://pypi.python.org/packages/source/s/sleekxmpp/sleekxmpp-%{version}.tar.gz
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:	noarch
 BuildRequires:	python2-devel
@@ -49,7 +47,6 @@ popd
 
 
 %install
-rm -rf %{buildroot}
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 pushd %{py3dir}
 %{__python3} setup.py install -O1 --skip-build --root %{buildroot}
@@ -63,24 +60,27 @@ pushd %{py3dir}
 popd
 
 
-%clean
-rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc LICENSE README.rst
 %{python_sitelib}/sleekxmpp/
 %{python_sitelib}/sleekxmpp-*.egg-info
 
 
 %files -n python3-sleekxmpp
-%defattr(-,root,root,-)
 %doc LICENSE README.rst
 %{python3_sitelib}/sleekxmpp/
 %{python3_sitelib}/sleekxmpp-*.egg-info
 
 
 %changelog
+* Wed Jun 05 2013 Matthieu Saulnier <fantom at fedoraproject.org> - 1.1.11-3
+- Remove obsolete Group tag in spec file
+- Remove obsolete BuildRoot tag in spec file
+- Remove obsolete cleanup command at the beginning of %%install section in spec file
+- Remove obsolete %%clean section in spec file
+- Remove obsolete %%defattr line in %%files sections
+
 * Sun Mar 10 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.1.11-2
 - add python-pyasn1 and python-pyasn1-modules to Requires
 


More information about the scm-commits mailing list