[opensuse-packaging] empty apache_suse_maintenance_mmn
What is supposed to fill the %apache_suse_maintenance_mmn macro? Its empty for everything but Factory, breaking the build of apache-rpm-macros. --- Factory/home/abuild/rpmbuild/BUILD/macros.apache +++ SLE_12/home/abuild/rpmbuild/BUILD/macros.apache @@ -1,13 +1,13 @@ %apache_major 2 %apache_branch 2.4 %apache_pname apache2 -%apache_apxs /usr/bin/apxs -%apache_cflags -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC -Wall -DLDAP_DEPRECATED +%apache_apxs /usr/bin/apxs2 +%apache_cflags -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -fPIC -Wall -DLDAP_DEPRECATED %apache_includedir /usr/include/apache2 %apache_libexecdir /usr/lib64/apache2 %apache_localstatedir /var/lib/apache2 %apache_mmn apache_mmn_20120211 -%apache_suse_maintenance_mmn suse_maintenance_mmn = 0 +%apache_suse_maintenance_mmn %apache_serverroot /srv/www %apache_sysconfdir /etc/apache2 %apache_datadir /srv/www Olaf -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Dne Čt 16. července 2015 11:32:05, Olaf Hering napsal(a):
What is supposed to fill the %apache_suse_maintenance_mmn macro? Its empty for everything but Factory, breaking the build of apache-rpm-macros.
It is filled up from apache package itself. Well feel free to update the macros to put 0 in there on the older distros. Cheers Tom
Am 16.07.2015 um 12:43 schrieb Tomáš Chvátal:
Well feel free to update the macros to put 0 in there on the older distros.
Like that? +++ apache-rpm-macros.spec (working copy) @@ -30,6 +30,9 @@ %define ap_localstatedir %(%{ap_apxs} -q LOCALSTATEDIR) %define ap_mmn %(MMN=$(%{ap_apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN) %define ap_maint_mmn %(rpm -q --provides apache2 | grep suse_maintenance_mmn) +%if "%{ap_maint_mmn}" == "" +%define ap_maint_mmn 0 +%endif %define ap_serverroot %(%{ap_apxs} -q PREFIX) %define ap_sysconfdir %(%{ap_apxs} -q SYSCONFDIR) %define ap_datadir %(%{ap_apxs} -q DATADIR) Olaf -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Olaf Hering
-
Tomáš Chvátal