[PATCH 2 of 2] rpm: Added support for Fedora 18 or later
khara at sios.com
khara at sios.com
Wed Dec 14 04:38:38 UTC 2016
# HG changeset patch
# User Kazuhisa Hara <khara at sios.com>
# Date 1481688579 -32400
# Wed Dec 14 13:09:39 2016 +0900
# Node ID 7d336407f7acef88043531bc23e70b407642af91
# Parent 9c4a4bd4be50d4002300dee737d9c0e610dbf898
rpm: Added support for Fedora 18 or later.
For Fedora 18 and later, the same build method as RHEL 7 can be used.
diff -r 9c4a4bd4be50 -r 7d336407f7ac rpm/SPECS/nginx.spec.in
--- a/rpm/SPECS/nginx.spec.in Wed Dec 14 13:05:13 2016 +0900
+++ b/rpm/SPECS/nginx.spec.in Wed Dec 14 13:09:39 2016 +0900
@@ -25,7 +25,7 @@
BuildRequires: openssl-devel >= 1.0.1
%endif
-%if 0%{?rhel} == 7
+%if 0%{?rhel} == 7 || 0%{?fedora} >= 18)
%define _group System Environment/Daemons
%define epoch 1
Epoch: %{epoch}
More information about the nginx-devel
mailing list