SPECS: libsepol.spec - use -fPIC instead of -fpic, release 2

qboosh qboosh at pld-linux.org
Tue Dec 27 09:39:46 CET 2005


Author: qboosh                       Date: Tue Dec 27 08:39:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use -fPIC instead of -fpic, release 2

---- Files affected:
SPECS:
   libsepol.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/libsepol.spec
diff -u SPECS/libsepol.spec:1.8 SPECS/libsepol.spec:1.9
--- SPECS/libsepol.spec:1.8	Wed Dec 21 23:34:53 2005
+++ SPECS/libsepol.spec	Tue Dec 27 09:39:40 2005
@@ -3,12 +3,13 @@
 Summary(pl):	Biblioteka do obróbki polityk SELinuksa w postaci binarnej
 Name:		libsepol
 Version:	1.10
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
 # Source0-md5:	7111064eb5a21c4d49f2e8d5dc97e278
 URL:		http://www.nsa.gov/selinux/
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -76,6 +77,9 @@
 %prep
 %setup -q
 
+# "relocation truncated to fit" on sparc64
+sed -i -e 's/-fpic/-fPIC/' src/Makefile
+
 %build
 %{__make} \
 	CC="%{__cc}" \
@@ -122,6 +126,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/12/27 08:39:40  qboosh
+- use -fPIC instead of -fpic, release 2
+
 Revision 1.8  2005/12/21 22:34:53  qboosh
 - updated to 1.10
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libsepol.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list