Include distribution in release
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 19 Oct 2011 18:43:11 +0000 (11:43 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 19 Oct 2011 18:43:27 +0000 (11:43 -0700)
Common practice is to include the distribution in the package release.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
zfs-modules.spec.in
zfs.spec.in

index 8b7126b..3fc6269 100644 (file)
@@ -211,7 +211,7 @@ Summary:         ZFS File System
 Group:           Utilities/System
 Name:            %{name}
 Version:         %{version}
-Release:         %{release}
+Release:         %{release}%{?dist}
 License:         @ZFS_META_LICENSE@
 URL:             git://github.com/zfsonlinux/zfs.git
 BuildRoot:       %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un)
index 5f94f37..6d87344 100644 (file)
@@ -12,7 +12,7 @@ Summary:         ZFS Library and Utils
 Group:           Utilities/System
 Name:            %{name}
 Version:         %{version}
-Release:         %{release}
+Release:         %{release}%{?dist}
 License:         @ZFS_META_LICENSE@
 URL:             git://github.com/zfsonlinux/zfs.git
 BuildRoot:       %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un)