Hello community,

here is the log from the commit of package python-virtualenv for 
openSUSE:Factory
checked in at Wed Jul 20 10:07:43 CEST 2011.



--------
--- python-virtualenv/python-virtualenv.changes 2011-07-17 03:04:24.000000000 
+0200
+++ /mounts/work_src_done/STABLE/python-virtualenv/python-virtualenv.changes    
2011-07-19 15:29:34.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Jul 19 13:23:02 UTC 2011 - [email protected]
+
+- Spec file cleanup:
+  * Remove she-bang line from non-executable script (rpmlint warning)
+  * Remove in-tree libraries (setuptools, pip & distribute)
+  * Don't package PKG-INFO but AUTHORS.txt and LICENSE.txt
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  virtualenv-1.6.3.tar.bz2

New:
----
  virtualenv-1.6.3.tar.gz

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

Other differences:
------------------
++++++ python-virtualenv.spec ++++++
--- /var/tmp/diff_new_pack.k5TA2z/_old  2011-07-20 10:02:21.000000000 +0200
+++ /var/tmp/diff_new_pack.k5TA2z/_new  2011-07-20 10:02:21.000000000 +0200
@@ -16,27 +16,26 @@
 #
 
 
-%{!?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 virtualenv
 
-Name:           python-%{mod_name}
+Name:           python-virtualenv
 Version:        1.6.3
-Release:        1
-Url:            http://www.virtualenv.org
+Release:        2
+Url:            http://www.virtualenv.org/
 Summary:        Virtual Python Environment builder
 License:        MIT
 Group:          Development/Languages/Python
-Source:         %{mod_name}-%{version}.tar.bz2
+Source:         virtualenv-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
+Requires:       python-distribute
+Requires:       python-pip
 %if 0%{?suse_version}
 %py_requires
 %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()")}
 
 %description
 virtualenv is a tool to create isolated Python environments.
@@ -61,10 +60,11 @@
 libraries either).
 
 %prep
-%setup -q -n %{mod_name}-%{version}
+%setup -q -n virtualenv-%{version}
+rm virtualenv_support/*.{egg,gz} # Remove in-tree libraries that are available 
as packages too
+sed -i "1d" virtualenv.py # Remove she-bang line for non-executable script
 
 %build
-export CFLAGS="%{optflags}"
 python setup.py build
 
 %install
@@ -75,8 +75,8 @@
 
 %files
 %defattr(-,root,root,-)
-%doc PKG-INFO docs
-%python_sitelib/%{mod_name}*
-%{_bindir}/%{mod_name}
+%doc AUTHORS.txt LICENSE.txt docs
+%{_bindir}/virtualenv
+%{python_sitelib}/virtualenv*
 
 %changelog


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



Remember to have fun...

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

Reply via email to