rpms/raptor/devel raptor.spec,1.15,1.16

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


Author: rdieter

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

Modified Files:
	raptor.spec 
Log Message:
* Fri May 01 2009 Rex Dieter <rdieter at fedoraproject.org> 1.4.18-3
- nuke rpaths
- touchup %files
- -devel: omit dup'd %doc's included in main pkg



Index: raptor.spec
===================================================================
RCS file: /cvs/pkgs/rpms/raptor/devel/raptor.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- raptor.spec	25 Feb 2009 18:47:21 -0000	1.15
+++ raptor.spec	1 May 2009 15:36:01 -0000	1.16
@@ -1,7 +1,7 @@
 Summary:       Raptor RDF Parser Toolkit for Redland
 Name:          raptor
 Version:       1.4.18
-Release:       2%{?dist}
+Release:       3%{?dist}
 License:       LGPLv2+ or ASL 2.0
 Group:         System Environment/Libraries
 Source:        http://download.librdf.org/source/raptor-%{version}.tar.gz
@@ -28,6 +28,11 @@ RDF/XML or N-Triples.
 %prep
 %setup -q
 
+# hack to nuke rpaths
+%if "%{_libdir}" != "/usr/lib"
+sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
+%endif
+
 %build
 %configure --disable-static
 make %{?_smp_mflags}
@@ -36,7 +41,7 @@ make %{?_smp_mflags}
 rm -rf $RPM_BUILD_ROOT
 
 make DESTDIR=$RPM_BUILD_ROOT install
-rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.{a,la}
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,23 +54,29 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-, root, root)
 %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE-2.0.txt LICENSE.html LICENSE.txt NEWS README
 %doc %{_mandir}/man1/rapper.1*
-%{_libdir}/lib*.so.*
+%{_libdir}/libraptor.so.1*
 %{_bindir}/rapper
 
 
 %files devel
 %defattr(-, root, root)
-%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE-2.0.txt LICENSE.html LICENSE.txt NEWS README
-%doc INSTALL.html
-%doc %{_mandir}/man1/raptor-config.1*
-%doc %{_mandir}/man3/libraptor.3*
-%doc %{_datadir}/gtk-doc/html/raptor
-%{_libdir}/lib*.so
+# include instuctions on how to build from source? omit for now, flog
+# me with a wet noodle if I'm wrong  -- Rex
+#doc INSTALL.html
+%{_mandir}/man1/raptor-config.1*
+%{_mandir}/man3/libraptor.3*
+%doc %{_datadir}/gtk-doc/html/raptor/
+%{_libdir}/libraptor.so
 %{_libdir}/pkgconfig/raptor.pc
-%{_prefix}/include/*
+%{_includedir}/raptor.h
 %{_bindir}/raptor-config
 
 %changelog
+* Fri May 01 2009 Rex Dieter <rdieter at fedoraproject.org> 1.4.18-3
+- nuke rpaths
+- touchup %%files
+- -devel: omit dup'd %%doc's included in main pkg
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.18-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list