Re: How to replace the rpm-build package with my own in a mock container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 17 May 2021 at 01:30, Mikhail Gavrilov
<mikhail.v.gavrilov@xxxxxxxxx> wrote:
> Once again tried rebuilt rpm-build and updated the local metadata and it worked.
> I was just confused that even though there is a mention of the
> rpm-build package in the root.log on line 218 [1]
> But nowhere is it written where this package is installed from.
> In any case, I achieved my goal and was able to replace
> /usr/lib/rpm/brp-strip during build.
>
> Thanks to all.
>
> [1] https://pastebin.com/aU20Bdhq
>

I think I understood what was the matter.
To increase the version, I added the letter b to the release version
(the full name turned out to be
rpm-4.16.90-0.git15395.8b.fc35.src.rpm).
Strangely, the host system considered this change significant and
installed my version, but in the mock container this change was
ignored and the usual version of rpm-build was installed.

# dnf info rpm-build
Last metadata expiration check: 0:08:19 ago on Wed 19 May 2021 02:23:04 AM +05.
Installed Packages
Name         : rpm-build
Version      : 4.16.90
Release      : 0.git15395.8b.fc35
Architecture : x86_64
Size         : 148 k
Source       : rpm-4.16.90-0.git15395.8b.fc35.src.rpm
Repository   : @System
>From repo    : local-repo
Summary      : Scripts and executable programs used to build packages
URL          : http://www.rpm.org/
License      : GPLv2+
Description  : The rpm-build package contains the scripts and
executable programs
             : that are used to build packages using the RPM Package Manager.

Available Packages
Name         : rpm-build
Version      : 4.16.90
Release      : 0.git15395.8b.fc35
Architecture : i686
Size         : 66 k
Source       : rpm-4.16.90-0.git15395.8b.fc35.src.rpm
Repository   : local-repo
Summary      : Scripts and executable programs used to build packages
URL          : http://www.rpm.org/
License      : GPLv2+
Description  : The rpm-build package contains the scripts and
executable programs
             : that are used to build packages using the RPM Package Manager.



-- 
Best Regards,
Mike Gavrilov.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux