%py3_build && %py3_install
This commit is contained in:
parent
bfe587afd7
commit
188394f82a
@ -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 <jpopelka@redhat.com> - 1.9.72-3
|
||||
- %%py3_build && %%py3_install
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.72-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user