Accepting request 851083 from home:pgajdos

- use apache rpm macros

OBS-URL: https://build.opensuse.org/request/show/851083
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_nss?expand=0&rev=59
This commit is contained in:
Petr Gajdos 2020-11-26 13:44:48 +00:00 committed by Git OBS Bridge
parent 11a8acab10
commit a36a1e3909
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 25 09:20:54 UTC 2020 - pgajdos@suse.com
- use apache rpm macros
-------------------------------------------------------------------
Thu Jun 11 09:53:59 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -16,13 +16,15 @@
#
%define apxs %{_sbindir}/apxs2
%if ! %{defined apache_apxs}
%define apache_apxs %{_sbindir}/apxs
%define apache apache2
%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
%define apache_includedir %(%{apxs} -q INCLUDEDIR)
%define apache_serverroot %(%{apxs} -q PREFIX)
%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN)
%endif
%define apache_sysconf_nssdir %{apache_sysconfdir}/mod_nss.d
Name: apache2-mod_nss
Version: 1.0.18
@ -101,7 +103,7 @@ autoreconf -fvi
--with-nss-inc=$NSS_INCLUDE_DIR \
--with-nspr-lib=$NSPR_LIB_DIR \
--with-nspr-inc=$NSPR_INCLUDE_DIR \
--with-apxs=%{apxs} \
--with-apxs=%{apache_apxs} \
--enable-ecc \
--with-apr-config
make %{?_smp_mflags} all