Hello community,

here is the log from the commit of package python-setproctitle for 
openSUSE:Factory checked in at 2013-03-08 13:30:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setproctitle (Old)
 and      /work/SRC/openSUSE:Factory/.python-setproctitle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-setproctitle", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-setproctitle/python-setproctitle.changes  
2012-09-20 15:45:03.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-setproctitle.new/python-setproctitle.changes 
    2013-03-08 13:30:43.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Jan 14 09:58:08 UTC 2013 - [email protected]
+
+- Simplify macro usage
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-setproctitle/python3-setproctitle.changes 
2013-01-12 19:47:16.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-setproctitle.new/python3-setproctitle.changes
    2013-03-08 13:30:43.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Jan 14 09:58:25 UTC 2013 - [email protected]
+
+- Drop buildrequires python3-2to3, it's in python3-devel now
+- Don't require "python(abi)", RPM does that automatically
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-setproctitle.spec ++++++
--- /var/tmp/diff_new_pack.rx6WhG/_old  2013-03-08 13:30:45.000000000 +0100
+++ /var/tmp/diff_new_pack.rx6WhG/_new  2013-03-08 13:30:45.000000000 +0100
@@ -16,11 +16,6 @@
 #
 
 
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
-%define mod_name setproctitle
-
 Name:           python-setproctitle
 Version:        1.1.6
 Release:        0
@@ -31,8 +26,8 @@
 Source:         
http://pypi.python.org/packages/source/s/setproctitle/setproctitle-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-%if 0%{?suse_version}
-%py_requires
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(11)")}
 %endif
 
 %description
@@ -42,7 +37,7 @@
 the OpenSSH Server for example.
 
 %prep
-%setup -q -n %{mod_name}-%{version}
+%setup -q -n setproctitle-%{version}
 
 %build
 CFLAGS="%{optflags}" python setup.py build
@@ -53,6 +48,6 @@
 %files
 %defattr(-,root,root)
 %doc COPYRIGHT HISTORY.rst README.rst
-%python_sitearch/%{mod_name}*
+%{python_sitearch}/*
 
 %changelog

++++++ python3-setproctitle.spec ++++++
--- /var/tmp/diff_new_pack.rx6WhG/_old  2013-03-08 13:30:45.000000000 +0100
+++ /var/tmp/diff_new_pack.rx6WhG/_new  2013-03-08 13:30:45.000000000 +0100
@@ -16,8 +16,6 @@
 #
 
 
-%define modname setproctitle
-
 Name:           python3-setproctitle
 Version:        1.1.6
 Release:        0
@@ -26,9 +24,7 @@
 Group:          Development/Libraries/Python
 Url:            http://pypi.python.org/pypi/setproctitle/
 Source:         
http://pypi.python.org/packages/source/s/setproctitle/setproctitle-%{version}.tar.gz
-BuildRequires:  python3-2to3
 BuildRequires:  python3-devel
-Requires:       python3 >= %{py3_ver}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -38,18 +34,17 @@
 the OpenSSH Server for example.
 
 %prep
-%setup -q -n %{modname}-%{version}
+%setup -q -n setproctitle-%{version}
 
 %build
 CFLAGS="%{optflags}" python3 setup.py build
 
 %install
-python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES
-
-%clean
-rm -rf %{buildroot}
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%files -f INSTALLED_FILES
+%files
 %defattr(-,root,root)
+%doc COPYRIGHT HISTORY.rst README.rst
+%{python3_sitearch}/*
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to