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 <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #422

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
Ned Bass 2011-10-17 11:43:55 -07:00 committed by Brian Behlendorf
parent 5cbf6db937
commit b385d7da6e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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