aboutsummaryrefslogtreecommitdiff
path: root/nix.spec.in
diff options
context:
space:
mode:
authorTimothy Allen <Timothy.Allen@optiver.com.au>2016-07-01 13:51:57 +1000
committerTimothy Allen <Timothy.Allen@optiver.com.au>2016-07-01 14:09:40 +1000
commit0610486d61f8359227ac4c2073de7becb27128a2 (patch)
treeea9e543ee7e4affbc19ce45b665807e488514279 /nix.spec.in
parentf32c6ed8730628d0cf32f7e124681b1011192a73 (diff)
nix.spec.in: RHEL 7/CentOS 7 do not require a group for each package.
Diffstat (limited to 'nix.spec.in')
-rw-r--r--nix.spec.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/nix.spec.in b/nix.spec.in
index e139fcb00..2d9d9d228 100644
--- a/nix.spec.in
+++ b/nix.spec.in
@@ -6,7 +6,7 @@ Name: nix
Version: @PACKAGE_VERSION@
Release: 2%{?dist}
License: LGPLv2+
-%if 0%{?rhel}
+%if 0%{?rhel} && 0%{?rhel} < 7
Group: Applications/System
%endif
URL: http://nixos.org/
@@ -41,7 +41,7 @@ it can be used equally well under other Unix systems.
%package devel
Summary: Development files for %{name}
-%if 0%{?rhel}
+%if 0%{?rhel} && 0%{?rhel} < 7
Group: Development/Libraries
%endif
Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -53,7 +53,7 @@ developing applications that use %{name}.
%package doc
Summary: Documentation files for %{name}
-%if 0%{?rhel}
+%if 0%{?rhel} && 0%{?rhel} < 7
Group: Documentation
%endif
BuildArch: noarch
@@ -65,7 +65,7 @@ The %{name}-doc package contains documentation files for %{name}.
%package -n emacs-%{name}
Summary: Nix mode for Emacs
-%if 0%{?rhel}
+%if 0%{?rhel} && 0%{?rhel} < 7
Group: Applications/Editors
%endif
BuildArch: noarch
@@ -77,7 +77,7 @@ This package provides a major mode for editing Nix expressions.
%package -n emacs-%{name}-el
Summary: Elisp source files for emacs-%{name}
-%if 0%{?rhel}
+%if 0%{?rhel} && 0%{?rhel} < 7
Group: Applications/Editors
%endif
BuildArch: noarch