Hello community,

here is the log from the commit of package python-kid for openSUSE:Factory 
checked in at 2017-07-11 08:28:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kid (Old)
 and      /work/SRC/openSUSE:Factory/.python-kid.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-kid"

Tue Jul 11 08:28:07 2017 rev:6 rq:509283 version:0.9.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kid/python-kid.changes    2012-02-03 
10:26:08.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-kid.new/python-kid.changes       
2017-07-11 08:28:07.480157791 +0200
@@ -1,0 +2,5 @@
+Mon Jul 10 18:42:12 UTC 2017 - [email protected]
+
+- Fix wrong-script-interpreter rpmlint error.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-kid.spec ++++++
--- /var/tmp/diff_new_pack.kJArXq/_old  2017-07-11 08:28:08.080073169 +0200
+++ /var/tmp/diff_new_pack.kJArXq/_new  2017-07-11 08:28:08.084072605 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-kid
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,19 +19,16 @@
 Version:        0.9.6
 Release:        0
 Url:            http://www.kid-templating.org/
-Summary:        A simple and pythonic XML template language
+Summary:        XML template language
 License:        MIT
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/k/kid/kid-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/k/kid/kid-%{version}.tar.gz
 Patch0:         kid-setuptools.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-nose
-%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()")}
-%else
 BuildArch:      noarch
-%endif
+Provides:       python2-kid = %{name}
 
 %description
 A simple and pythonic XML template language.
@@ -40,6 +37,11 @@
 %setup -q -n kid-%{version}
 %patch0 -p1
 
+# Fix wrong-script-interpreter
+sed -i "s|#!/usr/bin/env python|#!/usr/bin/python|" bin/kid
+sed -i "s|#!/usr/bin/env python|#!/usr/bin/python|" bin/kidc
+sed -i "s|#!/usr/bin/env python|#!/usr/bin/python|" 
examples/cgi/kid_handler.cgi
+
 %build
 python setup.py build
 
@@ -55,8 +57,11 @@
 
 %files
 %defattr(-,root,root,-)
-%doc ChangeLog COPYING README doc/html examples
-%{_bindir}/kid*
+%doc ChangeLog COPYING README
+%doc doc/html/
+%doc examples/
+%{_bindir}/kid
+%{_bindir}/kidc
 %{python_sitelib}/*
 
 %changelog


Reply via email to