From b385d7da6e3d21f0c0c23bf85212fe48758758c9 Mon Sep 17 00:00:00 2001 From: Ned Bass Date: Mon, 17 Oct 2011 11:43:55 -0700 Subject: [PATCH] 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 --- zfs-modules.spec.in | 2 +- zfs.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.8.3.1