summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Bass <[email protected]>2011-10-17 11:43:55 -0700
committerBrian Behlendorf <[email protected]>2011-10-18 11:11:35 -0700
commitb385d7da6e3d21f0c0c23bf85212fe48758758c9 (patch)
tree0ad59db08d17683d0fcb5c2671632af3168b20dd
parent5cbf6db937a304c4d2b60878a2405a1e2900abdf (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #422 Signed-off-by: Brian Behlendorf <[email protected]>
-rw-r--r--zfs-modules.spec.in2
-rw-r--r--zfs.spec.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/zfs-modules.spec.in b/zfs-modules.spec.in
index bf08688b7..8b7126b56 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 fd8b817fa..5f94f37ec 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