Remove shebang from examples/cupstree.py (bug #1288830).
This commit is contained in:
parent
8f4b37f47f
commit
cb3434040d
@ -6,7 +6,7 @@
|
|||||||
Summary: Python bindings for CUPS
|
Summary: Python bindings for CUPS
|
||||||
Name: python-cups
|
Name: python-cups
|
||||||
Version: 1.9.72
|
Version: 1.9.72
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
URL: http://cyberelk.net/tim/software/pycups/
|
URL: http://cyberelk.net/tim/software/pycups/
|
||||||
Source: http://cyberelk.net/tim/data/pycups/pycups-%{version}.tar.bz2
|
Source: http://cyberelk.net/tim/data/pycups/pycups-%{version}.tar.bz2
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -44,18 +44,17 @@ Documentation for python-cups.
|
|||||||
%prep
|
%prep
|
||||||
%setup -n pycups-%{version}
|
%setup -n pycups-%{version}
|
||||||
|
|
||||||
|
sed -i '/^#!\/usr\/bin\/python/d' examples/cupstree.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make doc
|
make doc
|
||||||
%py2_build
|
%py2_build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install-rpmhook DESTDIR="%{buildroot}"
|
make install-rpmhook DESTDIR="%{buildroot}"
|
||||||
%py2_install
|
%py2_install
|
||||||
%py3_install
|
%py3_install
|
||||||
chmod 755 %{buildroot}%{python3_sitearch}/cups*.so
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING README NEWS TODO
|
%doc COPYING README NEWS TODO
|
||||||
@ -73,6 +72,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/cups*.so
|
|||||||
%doc examples html
|
%doc examples html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 07 2015 Jiri Popelka <jpopelka@redhat.com> - 1.9.72-5
|
||||||
|
- Remove shebang from examples/cupstree.py (bug #1288830).
|
||||||
|
|
||||||
* Fri Nov 20 2015 Jiri Popelka <jpopelka@redhat.com> - 1.9.72-4
|
* Fri Nov 20 2015 Jiri Popelka <jpopelka@redhat.com> - 1.9.72-4
|
||||||
- do not use py3dir
|
- do not use py3dir
|
||||||
- use python_provide macro
|
- use python_provide macro
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user