Record installed files
This commit is contained in:
parent
fdcd11f4ed
commit
7ed8750210
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: python-cffi
|
Name: python-cffi
|
||||||
Version: 1.7.0
|
Version: 1.7.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Foreign Function Interface for Python to call C code
|
Summary: Foreign Function Interface for Python to call C code
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://cffi.readthedocs.org/
|
URL: http://cffi.readthedocs.org/
|
||||||
@ -88,10 +88,14 @@ rm build/html/.buildinfo
|
|||||||
%install
|
%install
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
pushd %{py3dir}
|
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
|
popd
|
||||||
%endif # with_python3
|
%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
|
%files -n python2-cffi
|
||||||
%doc PKG-INFO
|
%doc PKG-INFO
|
||||||
@ -109,6 +113,9 @@ popd
|
|||||||
%doc doc/build/html
|
%doc doc/build/html
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user