rpms/libotr/devel libotr.spec,1.18,1.19

Tom Callaway spot at fedoraproject.org
Mon May 24 20:46:16 UTC 2010


Author: spot

Update of /cvs/pkgs/rpms/libotr/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv6750

Modified Files:
	libotr.spec 
Log Message:
disable rpath, static libs (bz556071)


Index: libotr.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libotr/devel/libotr.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- libotr.spec	25 Jul 2009 06:22:32 -0000	1.18
+++ libotr.spec	24 May 2010 20:46:15 -0000	1.19
@@ -1,7 +1,7 @@
 Summary: Off-The-Record Messaging library and toolkit
 Name: libotr
 Version: 3.2.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPLv2 and LGPLv2
 Group: System Environment/Libraries
 Source0: http://otr.cypherpunks.ca/%{name}-%{version}.tar.gz
@@ -25,15 +25,16 @@ Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}, libgcrypt-devel >= 1.2.0
 
 %description devel
-
-The devel package contains the libotr library and the include files
+The devel package contains the libotr library and include files.
 
 %prep
 %setup -q
 
 %build
 
-%configure --with-pic --disable-rpath
+%configure --with-pic --disable-rpath --disable-static
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags} all
 
 %install
@@ -62,7 +63,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc ChangeLog
 %{_libdir}/libotr.so
-%{_libdir}/libotr.a
 %{_libdir}/pkgconfig/libotr.pc
 %dir %{_includedir}/libotr
 %{_includedir}/libotr/*
@@ -70,6 +70,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon May 24 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 3.2.0-5
+- disable static libs
+- disable rpath
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 



More information about the scm-commits mailing list