From: Ned Bass Date: Mon, 17 Oct 2011 18:43:55 +0000 (-0700) Subject: Use @ZFS_META LICENSE@ in spec.in files X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=b385d7da6e3d21f0c0c23bf85212fe48758758c9;p=zfs.git Use @ZFS_META LICENSE@ in spec.in files zfs.spec.in and zfs-modules.spec.in had the License field incorrectly set to @LICENSE@, causing generated rpm packages to report an invalid license string. Fix this by using @ZFS_META_LICENSE@. Signed-off-by: Ned Bass Signed-off-by: Brian Behlendorf Closes #422 Signed-off-by: Brian Behlendorf --- diff --git a/zfs-modules.spec.in b/zfs-modules.spec.in index bf08688..8b7126b 100644 --- a/zfs-modules.spec.in +++ b/zfs-modules.spec.in @@ -212,7 +212,7 @@ Group: Utilities/System Name: %{name} Version: %{version} Release: %{release} -License: @LICENSE@ +License: @ZFS_META_LICENSE@ URL: git://github.com/zfsonlinux/zfs.git BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un) Source: @PACKAGE@-%{version}.tar.gz diff --git a/zfs.spec.in b/zfs.spec.in index fd8b817..5f94f37 100644 --- a/zfs.spec.in +++ b/zfs.spec.in @@ -13,7 +13,7 @@ Group: Utilities/System Name: %{name} Version: %{version} Release: %{release} -License: @LICENSE@ +License: @ZFS_META_LICENSE@ URL: git://github.com/zfsonlinux/zfs.git BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un) Source: %{name}-%{version}.tar.gz