packages: libvirt/libvirt.spec - pass CC, CFLAGS, LDFLAGS and CPPFLAGS - re...

adamg adamg at pld-linux.org
Sat Sep 5 14:31:04 CEST 2009


Author: adamg                        Date: Sat Sep  5 12:31:04 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pass CC, CFLAGS, LDFLAGS and CPPFLAGS
- remove bogus translations
- %files fix (and simplification)

---- Files affected:
packages/libvirt:
   libvirt.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/libvirt/libvirt.spec
diff -u packages/libvirt/libvirt.spec:1.14 packages/libvirt/libvirt.spec:1.15
--- packages/libvirt/libvirt.spec:1.14	Sat Sep  5 13:57:15 2009
+++ packages/libvirt/libvirt.spec	Sat Sep  5 14:30:59 2009
@@ -129,9 +129,15 @@
 
 %prep
 %setup -q
+# weird translations
+rm -f po/{my,eu_ES}.{po,gmo}
 
 %build
-CPPFLAGS=-std=c99
+CC="%{__cc}"
+CFLAGS="%{rpmcflags}"
+LDFLAGS="%{rpmldflags}"
+CPPFLAGS="%{rpmcppflags}"
+export CC CFLAGS LDFLAGS CPPFLAGS
 ./configure \
 		--host=%{_host} \
 		--build=%{_host} \
@@ -188,13 +194,7 @@
 %{_datadir}/augeas/lenses/tests/*.aug
 %attr(755,root,root) %{_libdir}/libvirt_lxc
 #%{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
-%{_datadir}/libvirt/schemas/capability.rng
-%{_datadir}/libvirt/schemas/domain.rng
-%{_datadir}/libvirt/schemas/interface.rng
-%{_datadir}/libvirt/schemas/network.rng
-%{_datadir}/libvirt/schemas/nodedev.rng
-%{_datadir}/libvirt/schemas/storagepool.rng
-%{_datadir}/libvirt/schemas/storagevol.rng
+%{_datadir}/libvirt/schemas
 
 %files devel
 %defattr(644,root,root,755)
@@ -241,6 +241,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2009/09/05 12:30:59  adamg
+- pass CC, CFLAGS, LDFLAGS and CPPFLAGS
+- remove bogus translations
+- %files fix (and simplification)
+
 Revision 1.14  2009/09/05 11:57:15  adamg
 - updated to 0.7.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libvirt/libvirt.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list