summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unit-php.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/unit-php.spec b/unit-php.spec
index 572df55..d4d778f 100644
--- a/unit-php.spec
+++ b/unit-php.spec
@@ -35,7 +35,7 @@ Requires: %{scl_prefix}php-embedded
Name: %{?scl_prefix}%{project}-php
Version: 1.7
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: PHP module for NGINX Unit
License: ASL 2.0
URL: https://unit.nginx.org/
@@ -70,9 +70,9 @@ modbuild() {
./configure \
--prefix=%{_prefix} \
--state=%{_root_sharedstatedir}/unit \
- --control="unix:/var/run/control.unit.sock" \
- --pid=/var/run/unit.pid \
- --log=/var/log/unit.log \
+ --control="unix:/var/run/unit/control.sock" \
+ --pid=/var/run/unit/unit.pid \
+ --log=/var/log/unit/unit.log \
--openssl \
--cc-opt="%{optflags}" \
--ld-opt="-L%{_libdir} %{?scl:-Wl,-rpath,%{_libdir}}" \
@@ -117,5 +117,8 @@ make %{modname}-install DESTDIR=%{buildroot}
%changelog
+* Wed Jan 16 2019 Remi Collet <remi@remirepo.net> - 1.7-2
+- rebuild
+
* Mon Jan 14 2019 Remi Collet <remi@remirepo.net> - 1.7-1
- initial package