[Bug 371218] New: licenses package should provide a rpm macro
https://bugzilla.novell.com/show_bug.cgi?id=371218 Summary: licenses package should provide a rpm macro Product: openSUSE 11.0 Version: Alpha 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vuntz@novell.com QAContact: qa@suse.de Found By: --- There's a (sort of) policy to use the licenses package in order to avoid duplicating license files: http://en.opensuse.org/Packaging/Licenses However, right now, it means pasting this in %install: for FILE in COPYING LICENCE LICENCE_JHEAD LICENCE_VIGRA ; do MD5SUM=$(md5sum $FILE | sed 's/ .*//') if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE fi done I think it'd make sense to provide a rpm macro %licenses_link that would do this. By default, it could look for standard filenames like COPYING, LICENCE, COPYING.LIB, COPYING.DOC, etc., but it should be possible to pass filenames as arguments. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=371218
Marcus Meissner
participants (1)
-
bugzilla_noreply@novell.com