On Mar 21, 2018, at 08:56, Mick <[email protected]> wrote:
> The compile seems to work (although I haven't tried installing / running),
> but the packaging is stuck at...
>
>
> Processing files: rivendell-2.19.0int01-1.x86_64
> error: File not found by glob:
> /home/mick/rpmbuild/BUILDROOT/rivendell-2.19.0int01-1.x86_64/usr/share/doc/packages/rivendell-2.19.0int01/*
>
> RPM build errors:
> File not found by glob:
> /home/mick/rpmbuild/BUILDROOT/rivendell-2.19.0int01-1.x86_64/usr/share/doc/packages/rivendell-2.19.0int01/*
> Makefile:952: recipe for target 'rpm' failed
> make: *** [rpm] Error 1
Problem here is that RHEL and OpenSuSE handle package documentation slightly
differently. OpenSuSE puts it in ‘/usr/share/doc/<pkg-name>-/‘, whereas RHEL
uses ‘/usr/share/doc/<pkg-name>—<version>/‘.
Try making the following changes to ‘rivendell.spec.in’:
On lines 412 and 453, remove the ‘’-%{version]” part of the string —e.g. change
‘%{_docdir}/rivendell-%{version}’ to ‘%{_docdir}/rivendell’.
Do a search and replace for ‘/%{_datadir}/doc/rivendell-%{version}’, replacing
it with ‘/%{_datadir}/doc/rivendell’.
Then run the configure script and ‘make rpm’ again.
It’s been ages since I’ve tried generating RPMs on OpenSuSE! It’s quite likely
that there will be some code rot in the package dependencies as well, due to
the slightly different package naming conventions. You’ll know that if you get
an ‘unsatisfied dependency’ error when you go to install the resulting RPMs.
Let me know what you run into. If we can make it go, we should be able to
automate this so ‘make rpm’ will Just Work on both platforms.
Cheers!
|----------------------------------------------------------------------|
| Frederick F. Gleason, Jr. | Chief Developer |
| | Paravel Systems |
|----------------------------------------------------------------------|
| A room without books is like a body without a soul. |
| -- Cicero |
|----------------------------------------------------------------------|
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev