Overview

Request 1029995 accepted

- Implement python packaging best practices:
* Don't catchall python sitelib
- Don't install toplevel test module
- Make sure the correct version metadata is installed
* Enable testsuite
- Add missing update-alternatives requirements

Loading...

Matej Cepl's avatar
%exclude %{python_sitelib}/test

Really, more as a question than a complaint? Why not rm -rf %{$python_sitelib}/test?


Benjamin Greiner's avatar

Same effect. Except that an upstream update fixing it would create an error message in the %exclude variant, while the rm -rf variant would possibly remain in the specfile forever because no one notices that it is not necessary anymore


Matej Cepl's avatar

Then it could rm -r ..., but whatever.

Also, did you file that issue upstream?

Request History
Benjamin Greiner's avatar

bnavigator created request

- Implement python packaging best practices:
* Don't catchall python sitelib
- Don't install toplevel test module
- Make sure the correct version metadata is installed
* Enable testsuite
- Add missing update-alternatives requirements


Matej Cepl's avatar

mcepl accepted request

openSUSE Build Service is sponsored by