From 188394f82a8fffe65a810359b8588b2302c5e255 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Tue, 11 Aug 2015 17:37:06 +0200 Subject: [PATCH] %py3_build && %py3_install --- python-cups.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-cups.spec b/python-cups.spec index a4cc08b..a06a4e3 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: 2%{?dist} +Release: 3%{?dist} URL: http://cyberelk.net/tim/software/pycups/ Source: http://cyberelk.net/tim/data/pycups/pycups-%{version}.tar.bz2 License: GPLv2+ @@ -49,7 +49,7 @@ make CFLAGS="%{optflags} -fno-strict-aliasing" make doc pushd %{py3dir} -CFLAGS="%{optflags}" %{__python3} setup.py build +%py3_build popd @@ -57,7 +57,7 @@ popd make install DESTDIR="%{buildroot}" pushd %{py3dir} -%{__python3} setup.py install -O1 --skip-build --root %{buildroot} +%py3_install chmod 755 %{buildroot}%{python3_sitearch}/cups*.so popd @@ -79,6 +79,9 @@ popd %doc examples html %changelog +* Tue Aug 11 2015 Jiri Popelka - 1.9.72-3 +- %%py3_build && %%py3_install + * Thu Jun 18 2015 Fedora Release Engineering - 1.9.72-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild