rpms/antlr/devel antlr.spec,1.32,1.33
Deepak Bhole (dbhole)
fedora-extras-commits at redhat.com
Tue Jun 12 20:21:10 UTC 2007
- Previous message: owners owners.epel.list,1.297,1.298
- Next message: rpms/stellarium/devel stellarium-0.9.0-cmake.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 sources, 1.11, 1.12 stellarium.spec, 1.27, 1.28 stellarium-0.7.1-gcc41.patch, 1.1, NONE stellarium-0.8.2-x64.patch, 1.1, NONE stellarium-0.8.2-x64_2.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dbhole
Update of /cvs/extras/rpms/antlr/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19919
Modified Files:
antlr.spec
Log Message:
- Added a PIC compiled archive (bz# 242305)
Index: antlr.spec
===================================================================
RCS file: /cvs/extras/rpms/antlr/devel/antlr.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- antlr.spec 7 Jun 2007 18:51:19 -0000 1.32
+++ antlr.spec 12 Jun 2007 20:20:35 -0000 1.33
@@ -39,7 +39,7 @@
Summary: ANother Tool for Language Recognition
Name: antlr
Version: 2.7.7
-Release: 1jpp.3
+Release: 1jpp.4%{?dist}
Epoch: 0
License: Public Domain
URL: http://www.antlr.org/
@@ -156,6 +156,23 @@
export CLASSPATH=.
%configure --without-examples
make
+
+pushd lib/cpp/src/
+ mkdir temp_holder_for_nonpic
+ mv libantlr.a temp_holder_for_nonpic/
+ make clean
+
+ # Compile with PIC
+ make CXXFLAGS="${CXXFLAGS} -fPIC"
+
+ # Move files out
+ mv libantlr.a libantlr-pic.a
+ mv temp_holder_for_nonpic/libantlr.a .
+
+ # Cleanup temp dir
+ rmdir temp_holder_for_nonpic
+popd
+
find . -type f > /tmp/antlr.filelist
rm antlr.jar # no longer needed
%endif
@@ -186,6 +203,7 @@
mkdir -p $RPM_BUILD_ROOT{%{headers},%{_libdir}}
install -m 644 lib/cpp/antlr/*.hpp $RPM_BUILD_ROOT%{headers}
install -m 644 lib/cpp/src/libantlr.a $RPM_BUILD_ROOT%{_libdir}
+install -m 644 lib/cpp/src/libantlr-pic.a $RPM_BUILD_ROOT%{_libdir}
install -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir}
# javadoc
@@ -281,6 +299,7 @@
%{_javadir}/%{name}*.jar
%{headers}
%{_libdir}/libantlr.a
+%{_libdir}/libantlr-pic.a
%defattr(0755,root,root,0755)
%ghost %{_bindir}/antlr
%{_bindir}/antlr-config
@@ -308,6 +327,9 @@
%changelog
+* Tue Jun 12 2007 Deepak Bhole <dbhole at redhat.com> 2.7.7-1jpp.4.fc8
+- Added a PIC compiled archive (bz# 242305)
+
* Thu Jun 07 2007 Deepak Bhole <dbhole at redhat.com> 2.7.7-1jpp.3
- Applied patch to fix conditionals (from skasal at redhat dot com)
- Previous message: owners owners.epel.list,1.297,1.298
- Next message: rpms/stellarium/devel stellarium-0.9.0-cmake.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 sources, 1.11, 1.12 stellarium.spec, 1.27, 1.28 stellarium-0.7.1-gcc41.patch, 1.1, NONE stellarium-0.8.2-x64.patch, 1.1, NONE stellarium-0.8.2-x64_2.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list