rpms/setools/F-9 setools.spec,1.80,1.81
Dennis Gilmore
ausil at fedoraproject.org
Thu Sep 18 03:05:01 UTC 2008
Author: ausil
Update of /cvs/pkgs/rpms/setools/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6837
Modified Files:
setools.spec
Log Message:
fix building for sparc need -fPIC
Index: setools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/setools/F-9/setools.spec,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- setools.spec 2 Apr 2008 13:34:41 -0000 1.80
+++ setools.spec 18 Sep 2008 03:04:30 -0000 1.81
@@ -5,7 +5,7 @@
Name: setools
Version: %{setools_maj_ver}.%{setools_min_ver}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
URL: http://oss.tresys.com/projects/setools
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -190,6 +190,11 @@
%configure --libdir=%{_libdir} --disable-bwidget-check --disable-selinux-check --enable-swig-python --enable-swig-java --enable-swig-tcl
# work around issue with gcc 4.3 + gnu99 + swig-generated code:
sed -i -e 's:$(CC):gcc -std=gnu89:' libseaudit/swig/python/Makefile
+%ifarch sparc sparcv9 sparc64 s390 s390x
+ for file in `find . -name Makefile`; do
+ sed -i -e 's:-fpic:-fPIC:' $file;
+ done
+%endif
make %{?_smp_mflags}
%install
@@ -241,7 +246,7 @@
%files libs-python
%defattr(-,root,root,-)
%{pkg_py_lib}/
-%ifarch x86_64 ppc64
+%ifarch x86_64 ppc64 sparc64
%{pkg_py_arch}/
%endif
@@ -337,6 +342,9 @@
%postun libs-tcl -p /sbin/ldconfig
%changelog
+* Wed Sep 17 2008 Dennis Gilmore <dennis at ausil.us> 3.3.4-2
+- use -fPIC on sparc and s390
+
* Wed Feb 27 2008 Chris PeBenito <cpebenito at tresys.com> 3.3.4-1
- Fixes gcc 4.3, glibc 2.7, tcl 8.5, and libsepol 2.0.20 issues.
- Fix policy loading when policy on disk is higher version than the kernel.
More information about the fedora-extras-commits
mailing list