Thanks Fred.
I've applied your suggested changes, but unfortunately it's still stuck
at the same error. The path (as reflected by the error message) was updated:
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/*
RPM build errors:
File not found by glob:
/home/mick/rpmbuild/BUILDROOT/rivendell-2.19.0int01-1.x86_64/usr/share/doc/packages/rivendell/*
Makefile:952: recipe for target 'rpm' failed
make: *** [rpm] Error 1
It appears that it's the parent 'packages' directory that's missing...
> ls -1
~/rpmbuild/BUILDROOT/rivendell-2.19.0int01-1.x86_64/usr/share/doc
rivendell
rivendell-importers-2.19.0int01
Where to change that?
I again tried both with/without adding --docdir=/usr/share/doc/packages
to configure. The error messages are identical.
Cheers,
Mick
On 22/03/18 01:08, Fred Gleason wrote:
> On Mar 21, 2018, at 08:56, Mick <[email protected]
> <mailto:[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
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev