Browse Source

rpmlint police: use a subdir under libexec; remove some bogus non-executable scripts

master
parent
commit
7b9735cc89
  1. 4
      apache2/apache2.spec

4
apache2/apache2.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
Group: Web Group: Web
License: ASF License: ASF
Version: 2.0.46 Version: 2.0.46
Release: 20030703 Release: 20030704
# list of sources # list of sources
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
@ -76,6 +76,7 @@ Conflicts: apache
--enable-layout=GNU \ --enable-layout=GNU \
--prefix=%{l_prefix} \ --prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/apache2 \ --sysconfdir=%{l_prefix}/etc/apache2 \
--libexecdir=%{l_prefix}/libexec/apache2 \
--with-expat=%{l_prefix} \ --with-expat=%{l_prefix} \
--with-mpm=prefork \ --with-mpm=prefork \
--disable-shared --disable-shared
@ -94,6 +95,7 @@ Conflicts: apache
%{SOURCE rc.apache2} \ %{SOURCE rc.apache2} \
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
rm -f $RPM_BUILD_ROOT%{l_prefix}/sbin/envvars*
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files %files -f files

Loading…
Cancel
Save