Hello community,

here is the log from the commit of package python-lockfile for openSUSE:Factory 
checked in at 2012-06-28 16:32:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-lockfile (Old)
 and      /work/SRC/openSUSE:Factory/.python-lockfile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-lockfile", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-lockfile/python-lockfile.changes  
2012-06-13 13:32:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-lockfile.new/python-lockfile.changes     
2012-06-28 16:32:44.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Jun 27 08:55:31 UTC 2012 - [email protected]
+
+- Less macros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-lockfile.spec ++++++
--- /var/tmp/diff_new_pack.FbagcR/_old  2012-06-28 16:32:45.000000000 +0200
+++ /var/tmp/diff_new_pack.FbagcR/_new  2012-06-28 16:32:45.000000000 +0200
@@ -16,28 +16,23 @@
 #
 
 
-%{!?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 lockfile
-
-Name:           python-%{mod_name}
+Name:           python-lockfile
 Version:        0.9.1
 Release:        0
 Url:            http://code.google.com/p/pylockfile/
 Summary:        Platform-independent file locking module
 License:        MIT
 Group:          Development/Languages/Python
-Source:         %{mod_name}-%{version}.tar.bz2
+Source:         lockfile-%{version}.tar.bz2
 Patch0:         %{name}-empty_ident.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-%if 0%{?suse_version}
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %py_requires
-%if 0%{?suse_version} > 1110
+%else
 BuildArch:      noarch
 %endif
-%endif
 
 %description
 The lockfile package exports a LockFile class which provides a simple API for
@@ -50,25 +45,20 @@
 production-quality code.
 
 %prep
-%setup -q -n %{mod_name}-%{version}
-
+%setup -q -n lockfile-%{version}
 # current thread has ident = None, which causes a TypeError
 # http://code.google.com/p/pylockfile/issues/detail?id=8
 %patch0 -p1 -b .empty_ident
 
 %build
-export CFLAGS="%{optflags}"
 python setup.py build
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc README RELEASE-NOTES
-%python_sitelib/%{mod_name}*
+%python_sitelib/lockfile*
 
 %changelog

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

Reply via email to