On Tue, Apr 16, 2013 at 11:49:24AM +0200, Stephan Kulow wrote:
On 16.04.2013 10:56, Michal Vyskocil wrote:
Hi,
I was surprised when I've cheched the taskwarior's dependencies and found /usr/bin/{perl,python.ruby}. It seems it's autogenerated because some addon scripts are installed with a package. However I am not sure which of our magic scripts makes it.
The /usr/lib/rpm/find-requires seems to add perl when it find a shebang and python in a case something in /usr/libxy/python is installed. There are already fileattrs with perl.attr and python.atts, but I did no found anything for ruby. Has anyone an idea how to suppress the automatic adding of a dependency to interpreters by default?
package https://build.opensuse.org/package/show?package=taskwarrior&project=utilities build log https://build.opensuse.org/package/rawlog?arch=x86_64&package=taskwarrior&project=utilities&repository=openSUSE_12.3
The shebang is always added for executables
Hi, I see - thanks for a help, I've updated package and submitted to Factory in a meanwhile. Regards Michal Vyskocil
[ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/export-sql.py /usr/bin/python [ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/export-xml.py /usr/bin/python [ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/export-xml.rb /usr/bin/ruby [ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/export-html.pl /usr/bin/perl [ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/update-holidays.pl /usr/bin/perl [ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/export-yad.pl /usr/bin/perl [ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/export-xml.pl /usr/bin/perl [ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/export-csv.pl /usr/bin/perl [ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/export-yaml.pl /usr/bin/perl [ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/import-yaml.pl /usr/bin/perl [ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/import-todo.sh.pl /usr/bin/perl [ 230s] taskwarrior.x86_64: W: doc-file-dependency /usr/share/doc/task/scripts/add-ons/export-ical.pl /usr/bin/perl [ 230s] An included file marked as %doc creates a possible additional dependency in [ 230s] the package. Usually, this is not wanted and may be caused by eg. example [ 230s] scripts with executable bits set included in the package's documentation.
Greetings, Stephan
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org