From 7ed87502107a0c7d7645b0555de578e7acc8755f Mon Sep 17 00:00:00 2001 From: Nathaniel McCallum Date: Tue, 9 Aug 2016 15:54:13 +0200 Subject: [PATCH] Record installed files --- python-cffi.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/python-cffi.spec b/python-cffi.spec index 14b7877..34f0395 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -6,7 +6,7 @@ Name: python-cffi Version: 1.7.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Foreign Function Interface for Python to call C code License: MIT URL: http://cffi.readthedocs.org/ @@ -88,10 +88,14 @@ rm build/html/.buildinfo %install %if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py install --skip-build --prefix=%{_prefix} --root %{buildroot} +%{__python3} setup.py install \ + --skip-build --prefix=%{_prefix} --root %{buildroot} \ + --record %{buildroot}%{python3_sitearch}/cffi-%{version}-py%{python3_version}.egg-info/installed-files.txt popd %endif # with_python3 -%{__python} setup.py install --skip-build --prefix=%{_prefix} --root %{buildroot} +%{__python} setup.py install \ + --skip-build --prefix=%{_prefix} --root %{buildroot} \ + --record %{buildroot}%{python2_sitearch}/cffi-%{version}-py%{python2_version}.egg-info/installed-files.txt %files -n python2-cffi %doc PKG-INFO @@ -109,6 +113,9 @@ popd %doc doc/build/html %changelog +* Tue Aug 09 2016 Nathaniel McCallum - 1.7.0-3 +- Record installed files + * Tue Jul 19 2016 Fedora Release Engineering - 1.7.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages