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