forked from pool/libvirt
build script changes for libvirt-guests
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=84
This commit is contained in:
parent
87d443002e
commit
2c25ad0e78
@ -420,10 +420,11 @@ ln_dupes()
|
||||
ln_dupes .%{_docdir}/%{name}
|
||||
ln_dupes ./usr/share/locale
|
||||
)
|
||||
# init script
|
||||
# init scripts
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
||||
install %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/libvirtd
|
||||
ln -s /etc/init.d/libvirtd $RPM_BUILD_ROOT/usr/sbin/rclibvirtd
|
||||
ln -s /etc/init.d/libvirt-guests $RPM_BUILD_ROOT/usr/sbin/rclibvirt-guests
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
|
@ -2,7 +2,7 @@ Index: libvirt-0.8.7/tools/Makefile.am
|
||||
===================================================================
|
||||
--- libvirt-0.8.7.orig/tools/Makefile.am
|
||||
+++ libvirt-0.8.7/tools/Makefile.am
|
||||
@@ -129,17 +129,18 @@ install-data-local: install-init
|
||||
@@ -129,17 +129,16 @@ install-data-local: install-init
|
||||
|
||||
uninstall-local: uninstall-init
|
||||
|
||||
@ -14,8 +14,6 @@ Index: libvirt-0.8.7/tools/Makefile.am
|
||||
- $(DESTDIR)$(sysconfdir)/rc.d/init.d/libvirt-guests
|
||||
- mkdir -p $(DESTDIR)$(sysconfdir)/sysconfig
|
||||
+ $(DESTDIR)$(sysconfdir)/init.d/libvirt-guests
|
||||
+ ln -s $(DESTDIR)$(sysconfdir)/init.d/libvirt-guests \
|
||||
+ $(DESTDIR)/usr/sbin/rclibvirt-guests
|
||||
+ mkdir -p $(DESTDIR)/var/adm/fillup-templates
|
||||
$(INSTALL_DATA) $(srcdir)/libvirt-guests.sysconf \
|
||||
- $(DESTDIR)$(sysconfdir)/sysconfig/libvirt-guests
|
||||
@ -27,7 +25,7 @@ Index: libvirt-0.8.7/tools/Makefile.am
|
||||
$(DESTDIR)$(sysconfdir)/sysconfig/libvirt-guests
|
||||
|
||||
BUILT_SOURCES += libvirt-guests.init
|
||||
@@ -152,11 +153,6 @@ libvirt-guests.init: libvirt-guests.init
|
||||
@@ -152,11 +151,6 @@ libvirt-guests.init: libvirt-guests.init
|
||||
< $< > $@-t && \
|
||||
chmod a+x $@-t && \
|
||||
mv $@-t $@
|
||||
|
Loading…
Reference in New Issue
Block a user