From: Jae-young Hwang Date: Wed, 25 Sep 2013 08:29:07 +0000 (+0900) Subject: Add license file into rpm package X-Git-Tag: 2.2.1_release X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_2.2;p=external%2Fudev.git Add license file into rpm package License file must be included in Tizen SDK release binary because Tizen SDK license is deleted. Change-Id: I258d1b9eb6ebe3b34f2411ea0a96704cf12def1d Signed-off-by: Jae-young Hwang --- diff --git a/packaging/udev.spec b/packaging/udev.spec index 6753b6e..4d423b0 100755 --- a/packaging/udev.spec +++ b/packaging/udev.spec @@ -4,7 +4,7 @@ Name: udev Version: 182 Release: 6 -License: GPL-2.0 +License: GPLv2 Summary: A userspace implementation of devfs Group: System/Base Source0: http://www.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.bz2 @@ -141,6 +141,10 @@ do done; done +# license +mkdir -p %{buildroot}/usr/share/license +cp COPYING %{buildroot}/usr/share/license/%{name} + %post [ -x /usr/bin/systemctl ] && { @@ -212,6 +216,7 @@ systemctl daemon-reload %{_libdir}/systemd/system/udev-trigger.service %{_initddir}/udev-mtab +/usr/share/license/%{name} %files -n libudev %manifest udev.manifest