[Sawfish] Building librep 0.92.1b rpm fails |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: [Sawfish] Building librep 0.92.1b rpm fails
- From: Allan Duncan <amd2345@xxxxxxxxxxxxxxx>
- Date: Sun, 06 Nov 2011 23:19:23 +1100
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com.au; h=message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=mesmtp; bh=TzYXf5xmgFBFbDEow7Nr709 RFWM=; b=C3HUJd2iulMCpJ1HMJN5MTr/ij+hq3cfCIjVIOVOVZVDY+8Sed5xBeW 2lv1a4TIs5rl0hxtL82NrmR5AnJBHoyb7Xg7+9OGur6L+CJmr2gEeXKxzHQALdUs iDWOT5/kQM0XiQobN2nnDXU8l0qJj26xoGRCDiw11jLHbIqWE0zU=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:content-type:content-transfer-encoding; s=smtpout; bh=T zYXf5xmgFBFbDEow7Nr709RFWM=; b=Qr68kLEvHBfwIyp96zT3A8sB7mgsPjd5Y XfC2hXKjCvf6gnHSash9sfuDI13itsxTF1lSTuCmTkHE2IxlNGoFs2uvC37rCV64 jZmcIqV4n4dKuU4IgXRa31JYJmDwfpGaV2zjKLWlbRCXPZIPti5AdiS5JK5i101G 0sw/LSrKXA=
Having decided to move to Fedora 15 just before 16 is released, I'll get
rid of gnome 3 via bluebubble, and decided to use the latest sawfish.
Building the rpm for librep throws up:
RPM build errors:
Directory not found:
/home/alland/rpmbuild/BUILDROOT/librep-0.92.1b-1.fc15.x86_64/usr/lib64/rep/0.92.1b
Directory not found:
/home/alland/rpmbuild/BUILDROOT/librep-0.92.1b-1.fc15.x86_64/usr/lib64/rep/0.92.1b/x86_64-unknown-linux-gnu
The librep.spec contains:
%files
%defattr(-,root,root,-)
%doc NEWS README TODO
%dir %{_libdir}/rep/
%dir %{_libdir}/rep/%{version}/ <----
%{_bindir}/rep
%{_bindir}/rep-remote
%{_datadir}/rep/
%{_datadir}/man/man1/rep-remote.1.gz
%{_datadir}/man/man1/rep.1.gz
%{_infodir}/librep.info.gz
%{_libdir}/librep.so.*
%{_libdir}/rep/%{version}/%{_host}/ <----
librep 91.1 builds OK, but it has exactly the same spec, so digging
around I find a change in configure.in that fails to put these files
where they are needed:
diff -Naur librep-0.91.1/configure.in librep-0.92.1b/configure.in
--- librep-0.91.1/configure.in 2011-02-28 07:23:50.000000000 +1100
+++ librep-0.92.1b/configure.in 2011-08-28 07:46:14.000000000 +1000
[...]
@@ -56,9 +56,9 @@
esac
repdir='${datadir}/rep'
-replispdir='${repdir}/${version}/lisp'
-repexecdir='${libdir}/rep/${version}/${host_type}'
-repcommonexecdir='${libdir}/rep/${host_type}'
+replispdir='${repdir}/lisp'
+repexecdir='${libdir}/rep'
+repcommonexecdir='${libdir}/rep'
repdocfile='${repexecdir}/doc-strings'
emacssitelispdir='${datadir}/emacs/site-lisp'
Now I can hack either the spec file or the configure file to line up,
but which should it be?
---
--
Sawfish ML