rpms/rasqal/devel rasqal.spec,1.8,1.9

Rex Dieter rdieter at fedoraproject.org
Fri May 1 15:46:36 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/rasqal/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23246

Modified Files:
	rasqal.spec 
Log Message:
(mostly cosmetic changes only, not built)

* Fri May 01 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.9.15-5
- slightly less ugly rpath hacks
- cleanup %files



Index: rasqal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rasqal/devel/rasqal.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- rasqal.spec	25 Feb 2009 18:50:20 -0000	1.8
+++ rasqal.spec	1 May 2009 15:46:06 -0000	1.9
@@ -1,6 +1,6 @@
 Name:           rasqal
 Version:        0.9.15
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        RDF Query Library
 
 Group:          System Environment/Libraries
@@ -17,9 +17,6 @@ BuildRequires:  libxml2-devel
 # for the testsuite
 #BuildRequires:  perl(XML::DOM)
 
-# to avoid /usr/lib64 rpath on x86_64
-BuildRequires:  libtool
-
 %description
 Rasqal is a library providing full support for querying Resource
 Description Framework (RDF) including parsing query syntaxes, constructing
@@ -41,13 +38,17 @@ Libraries, includes etc to develop with 
 %prep
 %setup -q
 
+# hack to nuke rpaths
+%if "%{_libdir}" != "/usr/lib"
+sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
+%endif
+
+
 %build
 
-# disable-static does not work if we override to use the system's libtool
 %configure --enable-release --with-raptor=system --disable-static
 
-# avoid getting /usr/lib64 rpath on x86_64 build
-make LIBTOOL=/usr/bin/libtool %{?_smp_mflags}
+make %{?_smp_mflags}
 
 %check
 #make check
@@ -61,8 +62,6 @@ install -d $RPM_BUILD_ROOT%{_mandir}/man
 make DESTDIR=$RPM_BUILD_ROOT install
 find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
 
-# remove .a files that we now get because of overriding libtool
-find $RPM_BUILD_ROOT -name \*.a -exec rm {} \;
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -73,26 +72,29 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-
 %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
 %doc LICENSE-2.0.txt NOTICE
 %doc *.html
 %{_bindir}/roqet
-%{_libdir}/librasqal*.so.*
+%{_libdir}/librasqal.so.0*
 %{_mandir}/man1/roqet.1*
 %{_mandir}/man3/librasqal.3*
 
 %files devel
 %defattr(-,root,root,-)
 %doc docs/README.html
-%{_libdir}/librasqal*.so
-%{_includedir}/*
+%{_libdir}/librasqal.so
+%{_includedir}/rasqal*
 %{_bindir}/rasqal-config
 %{_mandir}/man1/rasqal-config.1*
 %{_libdir}/pkgconfig/rasqal.pc
-%{_datadir}/gtk-doc/html
+%{_datadir}/gtk-doc/html/rasqal/
 
 %changelog
+* Fri May 01 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.9.15-5
+- slightly less ugly rpath hacks
+- cleanup %%files
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.15-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list