[Bug 1223623] Review Request: python-num2words - Modules to convert numbers to words

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1223623



--- Comment #8 from Raphael Groner <projects.rg@xxxxxxxx> ---
(In reply to Zbigniew Jędrzejewski-Szmek from comment #6)
…
> Please fix the license tag. See comment #c4.
> 
> Hm, it's good to install tests, but they CANNOT be installed into a
> non-namespaced directory: /usr/lib/python2.7/site-packages/tests. This
> should be something like /usr/lib/python2.7/site-packages/num2words/tests.
> This is basically an upstream error. It is actually better not to install
> tests than install them here.

Maybe install the tests as development or documentation files. You could use:
%doc %{buildroot}%{python2_sitelib}/tests/
%exclude %{python2_sitelib}/tests/

%doc %{buildroot}%{python3_sitelib}/tests/
%exclude %{python3_sitelib}/tests/

Usage of %{buildroot} is necessary to get the files from installation location,
otherwise %doc will fail with its search in the source folder.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]