summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-02-05 09:00:03 +0100
committerRemi Collet <remi@remirepo.net>2021-02-05 09:00:03 +0100
commit4e8164000e41b05edcaa9558aeecf336d666633c (patch)
tree98cb9f3e851961284eebb70e923405677c530c96
parentc3522abe3302deeca3a3aecba1895088b84c47a3 (diff)
update to 1.22.0
-rw-r--r--unit-php.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/unit-php.spec b/unit-php.spec
index 0cc8d75..298ebce 100644
--- a/unit-php.spec
+++ b/unit-php.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for unit-php
#
-# Copyright (c) 2019-2020 Remi Collet
+# Copyright (c) 2019-2021 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -9,7 +9,7 @@
%global gh_owner nginx
%global project unit
-%global gh_commit 9e85732e9a8435b059d627b3c264549c33678f74
+%global gh_commit 98228f8ac878799e8265658d990bbff94675856b
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%undefine _debugsource_packages
@@ -34,7 +34,7 @@ Requires: %{scl_prefix}php-embedded
%endif
Name: %{?scl_prefix}%{project}-php
-Version: 1.21.0
+Version: 1.22.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: PHP module for NGINX Unit
License: ASL 2.0
@@ -42,6 +42,7 @@ URL: https://unit.nginx.org/
Source0: https://github.com/%{gh_owner}/%{project}/archive/%{gh_commit}/%{project}-%{version}-%{gh_short}.tar.gz
+BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-embedded
@@ -75,6 +76,8 @@ modbuild() {
--pid=/var/run/unit/unit.pid \
--log=/var/log/unit/unit.log \
--tmp=/var/tmp \
+ --user=unit \
+ --group=unit \
--openssl \
--cc-opt="%{optflags}" \
--ld-opt="-L%{_libdir} %{?scl:-Wl,-rpath,%{_libdir}}" \
@@ -119,6 +122,9 @@ make %{modname}-install DESTDIR=%{buildroot}
%changelog
+* Fri Feb 5 2021 Remi Collet <remi@remirepo.net> - 1.22.0-1
+- update to 1.22.0
+
* Fri Nov 20 2020 Remi Collet <remi@remirepo.net> - 1.21.0-1
- update to 1.21.0