Re: Is it possible to find out which packages were used when building the package?

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

 



On Sat, Dec 18, 2021 at 4:38 PM Mikhail Gavrilov
<mikhail.v.gavrilov@xxxxxxxxx> wrote:
>
> Thanks, for answer. I build every day rpm packages from git locally with mock. And every build erases the contents of the `/var/lib/mock`. I did not save build log and I suppose that the rpm package itself does not contain information about what versions of packages was used for build.

It might  be more efficient to run a shell command in your build
environment to review /var/log/dnf.log, even in a "mock" build
environment, rather than trying to parse out the dependencies directly
b reading the RPM or the .spec file.  It can be a real adventure to
resolve all the dependencies on dependencies on dependencies,
especially for a complex python based package.

RPM and yum also do not prove a package was actually used, merely that
it was managed as a build requirement.
_______________________________________________
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