switch in -fPIC in Makefile.am in prep stage Makefiles were being re-written in %build
This commit is contained in:
parent
2456e82a5b
commit
f1f2c585e9
15
setools.spec
15
setools.spec
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: setools
|
Name: setools
|
||||||
Version: %{setools_maj_ver}.%{setools_min_ver}
|
Version: %{setools_maj_ver}.%{setools_min_ver}
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://oss.tresys.com/projects/setools
|
URL: http://oss.tresys.com/projects/setools
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
@ -194,6 +194,11 @@ This package includes the following graphical tools:
|
|||||||
%patch3 -p 1 -b .neverallow
|
%patch3 -p 1 -b .neverallow
|
||||||
%patch4 -p 1 -b .cmdline
|
%patch4 -p 1 -b .cmdline
|
||||||
|
|
||||||
|
%ifarch sparc sparcv9 sparc64 s390 s390x
|
||||||
|
for file in `find . -name Makefile.am`; do
|
||||||
|
sed -i -e 's:-fpic:-fPIC:' $file;
|
||||||
|
done
|
||||||
|
%endif
|
||||||
# Fixup expected version of SWIG:
|
# Fixup expected version of SWIG:
|
||||||
sed -i -e "s|AC_PROG_SWIG(1.3.28)|AC_PROG_SWIG(2.0.0)|g" configure.ac
|
sed -i -e "s|AC_PROG_SWIG(1.3.28)|AC_PROG_SWIG(2.0.0)|g" configure.ac
|
||||||
# and rebuild the configure script:
|
# and rebuild the configure script:
|
||||||
@ -205,11 +210,6 @@ autoconf
|
|||||||
--enable-swig-python --enable-swig-java --enable-swig-tcl --with-java-prefix=/usr/lib/jvm/java
|
--enable-swig-python --enable-swig-java --enable-swig-tcl --with-java-prefix=/usr/lib/jvm/java
|
||||||
# work around issue with gcc 4.3 + gnu99 + swig-generated code:
|
# work around issue with gcc 4.3 + gnu99 + swig-generated code:
|
||||||
sed -i -e 's:$(CC):gcc -std=gnu89:' libseaudit/swig/python/Makefile
|
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}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -359,6 +359,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%postun libs-tcl -p /sbin/ldconfig
|
%postun libs-tcl -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 27 2011 Dennis Gilmore <dennis@ausil.us> - 3.3.7-13
|
||||||
|
- switch in -fPIC in Makefile.am in prep stage
|
||||||
|
|
||||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.7-12
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.7-12
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user