Accepting request 322437 from home:Andreas_Schwab:Factory

- Fixup libdir in installed files

OBS-URL: https://build.opensuse.org/request/show/322437
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=459
This commit is contained in:
Petr Gajdos 2015-08-13 14:24:27 +00:00 committed by Git OBS Bridge
parent f969280a56
commit 03bf97c804
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 13 13:04:00 UTC 2015 - schwab@suse.de
- Fixup libdir in installed files
-------------------------------------------------------------------
Tue Aug 11 15:52:42 UTC 2015 - kstreitova@suse.com

View File

@ -578,6 +578,13 @@ cat > %{buildroot}/%{sysconfdir}/uid.conf <<-EOF
Group %{httpdgroup}
EOF
# fixup libdir
%if "%{_lib}" != "lib64"
sed -e 's/lib64/%{_lib}/' -i \
%{buildroot}/%{sysconfdir}/loadmodule.conf \
%{buildroot}/%{_var}/adm/fillup-templates/sysconfig.%{name}
%endif
# remove configuration for mpms which have not been built
mpm_confs="$(awk '/IfModule .*\.c/ {print $2}' %{buildroot}/%{sysconfdir}/server-tuning.conf | cut -d. -f1 | tr '\n' ' ')"
for mpm_conf in $mpm_confs; do