Record installed files

This commit is contained in:
Nathaniel McCallum 2016-08-09 15:54:13 +02:00
parent fdcd11f4ed
commit 7ed8750210

View File

@ -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 <npmccallum@redhat.com> - 1.7.0-3
- Record installed files
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages