Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Thu Apr 28 03:19:10 CEST 2011.



--------
--- python-py2pack/python-py2pack.changes       2011-03-31 16:22:26.000000000 
+0200
+++ python-py2pack/python-py2pack.changes       2011-04-27 11:49:16.000000000 
+0200
@@ -1,0 +2,6 @@
+Wed Apr 27 09:47:18 UTC 2011 - [email protected]
+
+- Update to version 0.3.15
+  * Minor SUSE template fixes
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  py2pack-0.3.14.tar.gz

New:
----
  py2pack-0.3.15.tar.gz

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

Other differences:
------------------
++++++ python-py2pack.spec ++++++
--- /var/tmp/diff_new_pack.xmW5R8/_old  2011-04-28 03:18:25.000000000 +0200
+++ /var/tmp/diff_new_pack.xmW5R8/_new  2011-04-28 03:18:25.000000000 +0200
@@ -16,13 +16,10 @@
 #
 
 
-%{!?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 py2pack
 
 Name:           python-%{mod_name}
-Version:        0.3.14
+Version:        0.3.15
 Release:        1
 Url:            http://github.com/saschpe/py2pack
 Summary:        Generate distribution packages from Python packages on PyPI
@@ -30,17 +27,19 @@
 Group:          Development/Languages/Python
 Source:         %{mod_name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python-argparse
 BuildRequires:  python-devel
 BuildRequires:  python-jinja2
-Requires:       python-jinja2
-BuildRequires:  python-argparse
 Requires:       python-argparse
+Requires:       python-jinja2
 %if 0%{?suse_version}
 %py_requires
-%if %{?suse_version: %{suse_version} > 1110}
+%if 0%{?suse_version} > 1110
 BuildArch:      noarch
 %endif
 %endif
+%{!?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)")}
 
 %description
 This script allows to generate RPM spec or DEB dsc files from Python modules.

++++++ py2pack-0.3.14.tar.gz -> py2pack-0.3.15.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.14/PKG-INFO new/py2pack-0.3.15/PKG-INFO
--- old/py2pack-0.3.14/PKG-INFO 2011-03-31 16:18:09.000000000 +0200
+++ new/py2pack-0.3.15/PKG-INFO 2011-04-27 10:47:06.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.3.14
+Version: 0.3.15
 Summary: Generate distribution packages from Python packages on PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.14/py2pack/__init__.py 
new/py2pack-0.3.15/py2pack/__init__.py
--- old/py2pack-0.3.14/py2pack/__init__.py      2011-03-31 16:16:07.000000000 
+0200
+++ new/py2pack-0.3.15/py2pack/__init__.py      2011-04-27 10:46:13.000000000 
+0200
@@ -1,5 +1,5 @@
 __doc__ = 'Generate distribution packages from Python packages on PyPI'
 __author__ = 'Sascha Peilicke <[email protected]>'
-__version__ = '0.3.14'
+__version__ = '0.3.15'
 
 from py2pack import list, search, fetch, generate, main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.14/py2pack/templates/opensuse.spec 
new/py2pack-0.3.15/py2pack/templates/opensuse.spec
--- old/py2pack-0.3.14/py2pack/templates/opensuse.spec  2011-03-31 
16:15:35.000000000 +0200
+++ new/py2pack-0.3.15/py2pack/templates/opensuse.spec  2011-04-26 
15:18:20.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-{{ name|lower }}
+# spec file for package python-{{ name }}
 #
 # Copyright (c) {{ year }} SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -15,10 +15,8 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%{!?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 {{ name|lower }}
+%define mod_name {{ name }}
 
 Name:           python-%{mod_name}
 Version:        {{ version }}
@@ -27,16 +25,12 @@
 Summary:        {{ summary }}
 License:        {{ license }}
 Group:          Development/Languages/Python
-{%- if name != name|lower %}
-Source:         {{ name }}-%{version}{{ ending }}
-{%- else %}
 Source:         %{mod_name}-%{version}{{ ending }}
-{%- endif %}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 {%- for req in requires %}
-BuildRequires:  python-{{ req|lower|replace('(','')|replace(')','') }}
-Requires:       python-{{ req|lower|replace('(','')|replace(')','') }}
+BuildRequires:  python-{{ req|replace('(','')|replace(')','') }}
+Requires:       python-{{ req|replace('(','')|replace(')','') }}
 {%- endfor %}
 %if 0%{?suse_version}
 %py_requires
@@ -44,16 +38,14 @@
 BuildArch:      noarch
 %endif
 %endif
+%{!?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)")}
 
 %description
 {{ description }}
 
 %prep
-{%- if name != name|lower %}
-%setup -q -n {{ name }}-%{version}
-{%- else %}
 %setup -q -n %{mod_name}-%{version}
-{%- endif %}
 
 %build
 export CFLAGS="%{optflags}"
@@ -66,8 +58,8 @@
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
+%defattr(-,root,root)
 # You may have to add additional files here (documentation and binaries mostly)
-%python_sitelib/%{mod_name}*
+%{python_sitelib}/*
 
 %changelog


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



Remember to have fun...

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

Reply via email to