From cb3434040d8dac404a69d77c45d33252c90ea618 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Mon, 7 Dec 2015 13:38:31 +0100 Subject: [PATCH] Remove shebang from examples/cupstree.py (bug #1288830). --- python-cups.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/python-cups.spec b/python-cups.spec index 9c9e873..2fb6bb6 100644 --- a/python-cups.spec +++ b/python-cups.spec @@ -6,7 +6,7 @@ Summary: Python bindings for CUPS Name: python-cups Version: 1.9.72 -Release: 4%{?dist} +Release: 5%{?dist} URL: http://cyberelk.net/tim/software/pycups/ Source: http://cyberelk.net/tim/data/pycups/pycups-%{version}.tar.bz2 License: GPLv2+ @@ -44,18 +44,17 @@ Documentation for python-cups. %prep %setup -n pycups-%{version} +sed -i '/^#!\/usr\/bin\/python/d' examples/cupstree.py + %build make doc %py2_build %py3_build - %install make install-rpmhook DESTDIR="%{buildroot}" %py2_install %py3_install -chmod 755 %{buildroot}%{python3_sitearch}/cups*.so - %files %doc COPYING README NEWS TODO @@ -73,6 +72,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/cups*.so %doc examples html %changelog +* Mon Dec 07 2015 Jiri Popelka - 1.9.72-5 +- Remove shebang from examples/cupstree.py (bug #1288830). + * Fri Nov 20 2015 Jiri Popelka - 1.9.72-4 - do not use py3dir - use python_provide macro