diff --git a/pyppd.spec b/pyppd.spec index 6632fba..8ad52e2 100644 --- a/pyppd.spec +++ b/pyppd.spec @@ -1,12 +1,11 @@ Summary: PPD file compressor and generator for CUPS Name: pyppd -Version: 0.4.9 -Release: 7%{?dist} +Version: 1.0.2 +Release: 1%{?dist} URL: http://pypi.python.org/pypi/pyppd Source: http://pypi.python.org/packages/source/p/pyppd/pyppd-%{version}.tar.gz -License: GPLv3 -Group: Applications/File -BuildRequires: python2-devel +License: MIT +BuildRequires: python3-devel BuildArch: noarch %description @@ -15,23 +14,27 @@ Description files. It can generate the PPD files on the fly for CUPS. %prep %setup -q -sed -i -e '1s,^#!/usr/bin/env python,#!/usr/bin/python,' pyppd/pyppd-ppdfile.in +sed -i -e '1s,^#!/usr/bin/env python,#!/usr/bin/python3,' pyppd/pyppd-ppdfile.in %build -python setup.py build +%{__python3} setup.py build %install -python setup.py install --skip-build --root %buildroot +%{__python3} setup.py install --skip-build --root %{buildroot} %files -%doc LICENSE.txt README.txt ISSUES.txt CHANGES*.txt +%license LICENSE.txt +%doc README ISSUES CHANGES.txt # This directory includes pyppd-ppdfile.in which looks like a script # but is only a template. For that reason it is *not* executable. -%{python_sitelib}/%{name}/ -%{python_sitelib}/*.egg-info +%{python3_sitelib}/%{name} +%{python3_sitelib}/%{name}*.egg-info %{_bindir}/%{name} %changelog +* Mon Nov 16 2015 Jiri Popelka - 1.0.2-1 +- 1.0.2 & Python3 + * Thu Jun 18 2015 Fedora Release Engineering - 0.4.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild