rpms/udev/devel udev.spec,1.225,1.226

Dennis Gilmore (ausil) fedora-extras-commits at redhat.com
Tue Oct 16 15:52:42 UTC 2007


Author: ausil

Update of /cvs/extras/rpms/udev/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23389

Modified Files:
	udev.spec 
Log Message:
sparc64 requires -fPIE not -fpie



Index: udev.spec
===================================================================
RCS file: /cvs/extras/rpms/udev/devel/udev.spec,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -r1.225 -r1.226
--- udev.spec	15 Oct 2007 13:20:44 -0000	1.225
+++ udev.spec	16 Oct 2007 15:52:09 -0000	1.226
@@ -6,7 +6,7 @@
 Summary: A userspace implementation of devfs
 Name: udev
 Version: 116
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2
 Group: System Environment/Base
 Provides: udev-persistent = %{version}-%{release}
@@ -110,7 +110,11 @@
 make E='@echo' Q='@' -C extras/volume_id/lib clean
 %endif
 
+%ifarch sparc64
+make CC="gcc $RPM_OPT_FLAGS -fPIE -pie" LDFLAGS="-pie" \
+%else
 make CC="gcc $RPM_OPT_FLAGS -fpie -pie" LDFLAGS="-pie" \
+%endif
 	USE_KLIBC=false \
 	USE_SELINUX=true \
 	udevdir="/dev" \
@@ -135,7 +139,11 @@
 
 mkdir -p $RPM_BUILD_ROOT%{_sbindir}
 
+%ifarch sparc64
+make DESTDIR=$RPM_BUILD_ROOT CC="gcc $RPM_OPT_FLAGS -fPIE -pie" LDFLAGS="-pie"\
+%else
 make DESTDIR=$RPM_BUILD_ROOT CC="gcc $RPM_OPT_FLAGS -fpie -pie" LDFLAGS="-pie"\
+%endif
 	libdir="/%{_lib}" \
 	usrlibdir="%{_libdir}" \
 	EXTRAS="	\
@@ -348,6 +356,9 @@
 %{_libdir}/pkgconfig/libvolume_id.pc 
 
 %changelog
+* Tue Oct 16 2007 Dennis Gilmore <dennis at ausil.us> 116-2
+- sparc64 requires -fPIE not -fpie
+
 * Mon Oct 15 2007 Harald Hoyer <harald at redhat.com> 116-1
 - version 116
 




More information about the fedora-extras-commits mailing list