[Bug 1123010] Review Request: python-texttable - Python module to generate a formatted text table, using ASCII characters.

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

 



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



--- Comment #4 from Julien Enselme <jujens@xxxxxxxxx> ---
According to https://fedoraproject.org/wiki/Packaging:Python#Files_to_include
you can use:
%files
%{python2_sitelib}/foo/ (I forget the last / sorry)

or

%files
%dir %{python2_sitelib}/foo (to add the directory)
%{python2_sitelib}/foo/*

Please add %dir %{python2_sitelib}/foo.

I still got 1 rpmlint error and 1 waring:
- python-texttable.noarch: W: summary-ended-with-dot C Python module to
generate a formatted text table, using ASCII characters. (Simply remvoe the dot
at the end of the summary:
http://fedoraproject.org/wiki/Common_Rpmlint_issues#summary-ended-with-dot)
- python-texttable.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/texttable.py 0644L /usr/bin/env (the file is
not executable but has an shebang "#!/usr/bin/env python" you must remove, by
instance by running:
# Remove shebang
for lib in $RPM_BUILD_ROOT%{python2_sitelib}/*.py; do
 sed '1{\@^#!/usr/bin/env python@d}' $lib > $lib.new &&
 touch -r $lib $lib.new &&
 mv $lib.new $lib
done

in the %install section.

-- 
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]