Re: [Sawfish] Building librep 0.92.1b rpm fails

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


I found the same problems in repgtk and sawfish, here are the three fixes:

diff -Naur original/librep.spec.in fixed/librep.spec.in
--- original/librep.spec.in	2011-08-28 07:46:14.000000000 +1000
+++ fixed/librep.spec.in	2011-11-09 18:25:38.000000000 +1100
@@ -77,7 +77,6 @@
 %defattr(-,root,root,-)
 %doc NEWS README TODO
 %dir %{_libdir}/rep/
-%dir %{_libdir}/rep/%{version}/
 %{_bindir}/rep
 %{_bindir}/rep-remote
 %{_datadir}/rep/
@@ -85,14 +84,13 @@
 %{_datadir}/man/man1/rep.1.gz
 %{_infodir}/librep.info.gz
 %{_libdir}/librep.so.*
-%{_libdir}/rep/%{version}/%{_host}/

 %files devel
 %defattr(-,root,root,-)
 %{_bindir}/rep-xgettext
 %{_bindir}/repdoc
 %{_includedir}/rep/
-%{_libdir}/rep/%{_host}/
+%{_libdir}/rep/
 %{_libdir}/pkgconfig/librep.pc
 %{_libdir}/librep.so
 %{_datadir}/man/man1/rep-xgettext.1.gz
diff -Naur original/rep-gtk.spec.in fixed/rep-gtk.spec.in
--- original/rep-gtk.spec.in	2011-08-23 03:11:36.000000000 +1000
+++ fixed/rep-gtk.spec.in	2011-11-09 18:51:13.000000000 +1100
@@ -44,7 +44,7 @@
 %files
 %defattr (-,root,root,-)
 %doc examples/* NEWS README* TODO gtk.defs gdk.defs
-%{_libdir}/rep/%{_host}/gui
+%{_libdir}/rep/gui

 %files devel
 %defattr (-,root,root,-)
diff -Naur original/sawfish.spec.in fixed/sawfish.spec.in
--- original/sawfish.spec.in	2011-10-10 00:35:14.000000000 +1100
+++ fixed/sawfish.spec.in	2011-11-09 21:52:16.000000000 +1100
@@ -82,7 +82,7 @@
 %doc README README.IMPORTANT TODO USERDOC
 %dir %{_datadir}/sawfish
 %{_bindir}/*
-%{_datadir}/sawfish/%{version}
+%{_datadir}/sawfish/
 %{_datadir}/sawfish/sawfish.png
 %{_libdir}/sawfish/
 %{rep_execdir}/sawfish

---
--
Sawfish ML


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/