[mythtv] Errant Version.pm being added to perl install directory

John Pilkington johnpilk222 at gmail.com
Mon Jan 23 16:51:27 UTC 2023


On 23/01/2023 16:15, Gary Buhrmaster wrote:
> On Mon, Jan 23, 2023 at 3:35 PM David Hampton via mythtv-dev
> <mythtv-dev at mythtv.org> wrote:
> 
>> True, but this method makes it easier to port the change to cmake.
> 
> The goal of cmake is good.
> 
>> Cmake has a configure_file function specifically designed to do this
>> kind of substitution.
> 
> So why not use it to configure the Makefile.PL "Version"
> string directly?  As my patch demonstrated, one does not
> have to pull the version from a file, it can be directly
> specified.

FWIW (??), and fyi, the error I reported on the users list was

Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/builddir/build/BUILDROOT/mythtv-33.Pre.1075.gb6428abd82-100.fc36.x86_64
error: Installed (but unpackaged) file(s) found:
    /usr/share/perl5/vendor_perl/Version.pm

followed by a short list of files listed twice.

-------
Today, after replacing all instances of MythTV.pm in mythtv.spec by

  /MythTV/Version.pm

I get

Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/builddir/build/BUILDROOT/mythtv-33.Pre.1109.g6f04854c27-100.fc36.x86_64
error: Installed (but unpackaged) file(s) found:
    /usr/share/perl5/vendor_perl/IO/Socket/INET/MythTV.pm
    /usr/share/perl5/vendor_perl/MythTV.pm

John




More information about the mythtv-dev mailing list