14
0

Accepting request 505420 from home:bmwiedemann:branches:devel:languages:python

Do not include unneccessary undeterministic environment.pickle in package to fix build-compare

OBS-URL: https://build.opensuse.org/request/show/505420
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=43
This commit is contained in:
Jan Matejek
2017-06-21 13:51:32 +00:00
committed by Git OBS Bridge
parent 57ab337dbf
commit 1baa471796
2 changed files with 6 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ sphinx-build doc/src doc/build/html
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm -rf %{buildroot}%{python_sitearch}/psycopg2/tests # Don't package testsuite
rm doc/build/html/.doctrees/environment.pickle
%fdupes -s %{buildroot}/%{_mandir} # Create symlinks for man pages
%fdupes %{buildroot} # Create hardlinks for the rest