[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/libvirt/devel chown.patch,NONE,1.1 libvirt.spec,1.11,1.12



Author: veillard

Update of /cvs/dist/rpms/libvirt/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv8700

Modified Files:
	libvirt.spec 
Added Files:
	chown.patch 
Log Message:
Work around the build problem with chown, Daniel


chown.patch:
 Makefile.am |    1 -
 Makefile.in |    1 -
 2 files changed, 2 deletions(-)

--- NEW FILE chown.patch ---
*** libvirt/proxy/Makefile.am.orig	2006-07-03 18:28:58.000000000 +0200
--- libvirt/proxy/Makefile.am	2006-07-03 18:29:23.000000000 +0200
***************
*** 16,20 ****
  libvirt_proxy_LDADD =
  
  install-exec-hook:
- 	chown root:root $(DESTDIR)$(libexecdir)/libvirt_proxy
  	chmod u+s $(DESTDIR)$(libexecdir)/libvirt_proxy
--- 16,19 ----
*** libvirt/proxy/Makefile.in.orig	2006-07-03 18:29:07.000000000 +0200
--- libvirt/proxy/Makefile.in	2006-07-03 18:29:31.000000000 +0200
***************
*** 544,550 ****
  
  
  install-exec-hook:
- 	chown root:root $(DESTDIR)$(libexecdir)/libvirt_proxy
  	chmod u+s $(DESTDIR)$(libexecdir)/libvirt_proxy
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
  # Otherwise a system limit (for SysV at least) may be exceeded.
--- 544,549 ----


Index: libvirt.spec
===================================================================
RCS file: /cvs/dist/rpms/libvirt/devel/libvirt.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- libvirt.spec	3 Jul 2006 15:20:11 -0000	1.11
+++ libvirt.spec	3 Jul 2006 16:33:09 -0000	1.12
@@ -15,6 +15,7 @@
 BuildRequires: readline-devel
 Obsoletes: libvir
 ExclusiveArch: i386 x86_64
+Patch0: chown.patch
 
 %description
 This C library provides an API to use the Xen virtualization framework,
@@ -44,6 +45,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 touch `find .`
@@ -76,7 +78,7 @@
 %doc %{_mandir}/man1/virsh.1*
 %{_bindir}/virsh
 %{_libdir}/lib*.so.*
-%{_libexecdir}/libvirt_proxy
+%attr(4755, root, root) %{_libexecdir}/libvirt_proxy
 
 %files devel
 %defattr(-, root, root)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]