- don't create $RPM_BUILD_ROOT/etc/init.d twice in %install.

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=340
This commit is contained in:
Roman Drahtmueller 2011-09-15 11:34:45 +00:00 committed by Git OBS Bridge
parent afd986fb8f
commit 1b392ac14c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 15 13:33:30 CEST 2011 - draht@suse.de
- don't create $RPM_BUILD_ROOT/etc/init.d twice in %install.
-------------------------------------------------------------------
Wed Sep 14 01:11:55 CEST 2011 - draht@suse.de

View File

@ -599,7 +599,6 @@ install -m 755 %{S:25} $RPM_BUILD_ROOT/%{_bindir}/
tar xjf %{SOURCE29} -C $RPM_BUILD_ROOT/%{sysconfdir}
#
# init script and friends
mkdir -p $RPM_BUILD_ROOT/etc/init.d
mkdir -p $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/lib/systemd/system/
install -m 744 $RPM_SOURCE_DIR/rc.%{pname} $RPM_BUILD_ROOT/etc/init.d/%{pname}
install -m 744 $RPM_SOURCE_DIR/start_apache2 $RPM_BUILD_ROOT/usr/sbin/start_apache2