Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Wed Sep 21 17:20:37 CEST 2011.



--------
--- python-py2pack/python-py2pack.changes       2011-07-07 15:20:15.000000000 
+0200
+++ /mounts/work_src_done/STABLE/python-py2pack/python-py2pack.changes  
2011-09-20 16:58:36.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Sep 20 14:57:05 UTC 2011 - sasc...@suse.de
+
+- Buildrequire python-Jinja2 instead of python-jinja2
+- Removed %clean section, use sane default
+- Fix non-executable script rpmlint warning
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ python-py2pack.spec ++++++
--- /var/tmp/diff_new_pack.MM5KYa/_old  2011-09-21 17:20:34.000000000 +0200
+++ /var/tmp/diff_new_pack.MM5KYa/_new  2011-09-21 17:20:34.000000000 +0200
@@ -11,15 +11,13 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-
+#
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:           python-py2pack
 Version:        0.3.20
-Release:        3
+Release:        0
 Url:            http://github.com/saschpe/py2pack
 Summary:        Generate distribution packages from Python packages on PyPI
 License:        GPLv2
@@ -28,9 +26,9 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-argparse
 BuildRequires:  python-devel
-BuildRequires:  python-jinja2
+BuildRequires:  python-Jinja2
 Requires:       python-argparse
-Requires:       python-jinja2
+Requires:       python-Jinja2
 %if 0%{?suse_version}
 %py_requires
 %if 0%{?suse_version} > 1110
@@ -47,9 +45,9 @@
 
 %prep
 %setup -q -n py2pack-%{version}
+sed -i "1d" py2pack/py2pack.py # Fix non-executable script
 
 %build
-export CFLAGS="%{optflags}"
 python setup.py build
 
 %install
@@ -60,14 +58,11 @@
 install -d %{buildroot}%{_docdir}/%{name}
 mv %{buildroot}/usr/share/doc/py2pack/* %{buildroot}%{_docdir}/%{name}
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %{_docdir}/%{name}
 %{_mandir}/man?/py2pack.*
 %{_bindir}/py2pack
-%python_sitelib/*
+%{python_sitelib}/*
 
 %changelog


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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to