[PATCH 2 of 2] rpm: Added support for Fedora 18 or later

原和久 khara at sios.com
Wed Dec 14 04:44:54 UTC 2016


Hi,

These two patches are for the pkg-oss repository.
Could you take a look at the following patch?

Thanks and regards.


2016-12-14 13:38 GMT+09:00  <khara at sios.com>:
> # 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}
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel



-- 
Kazuhisa Hara <khara at sios.com>
Software Engineer
OSS Technology Center
Engineering Department
SIOS Technology, Inc.
Tel. +81-3-6401-5117


More information about the nginx-devel mailing list