diff --git a/python-py2pack.changes b/python-py2pack.changes index ed93ea0..b495773 100644 --- a/python-py2pack.changes +++ b/python-py2pack.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Sep 20 14:57:05 UTC 2011 - saschpe@suse.de + +- Buildrequire python-Jinja2 instead of python-jinja2 +- Removed %clean section, use sane default +- Fix non-executable script rpmlint warning + ------------------------------------------------------------------- Thu Jul 7 13:17:54 UTC 2011 - saschpe@suse.de diff --git a/python-py2pack.spec b/python-py2pack.spec index b7d7ab6..829339d 100644 --- a/python-py2pack.spec +++ b/python-py2pack.spec @@ -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 @@ Source: http://pypi.python.org/packages/source/p/py2pack/py2pack-%{versi 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 @@ universal tool to package Python modules. %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 @@ mv %{buildroot}/usr/man/man1/py2pack.* %{buildroot}%{_mandir}/man1 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