Re: [Sawfish] Building librep 0.92.1b rpm fails |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [Sawfish] Building librep 0.92.1b rpm fails
- From: Allan Duncan <amd2345@xxxxxxxxxxxxxxx>
- Date: Wed, 09 Nov 2011 23:17:37 +1100
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com.au; h=message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=GXrFG+DwxgQwywwbBtQvJYj6/3I=; b=bvMfj3qmXkgcJpGClhVwRbjGUpCP w2kPg6LHScDK0rKD54cpabtM1RUpU10HIH7x39BEGeO4tAE5Wl+5OIygAPIBGQqV mXWI8Tk/enidxcCFHBLwVpeBBAtmpSDyaD+O9j5xEEi1Hxc9VMuHXDb9WS06kIA2 /EkXN0FnKtUxLoU=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=GXrFG+DwxgQwywwbBtQvJY j6/3I=; b=XQP44bnd349QcR5s1hI0Hg033DRtEh1Zq5rUm0v9uqiKo5SVVeH80m 2ldZp59sSXeOi6Dz6mg2KH2NHQjl1g3w2f8GawsK9OT2dCy3RIcWyAfCOkKBQBbU ZxyKQWjG+FEOtjcHsJXFnohIL0xgckHfPsUvqPh7d9IKcQVHK2XIE=
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