Re: InDependance

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

 



On 9/4/08, Todd Zullinger <tmz@xxxxxxxxx> wrote:
> Jameson wrote:
> > Anyway, since the first message, I packaged it myself to see exactly
> > what it does.  It is used as a wrapper for rpmbuild.  It uses strace
> > to determine which files are used in the building of a rpm, and then
> > uses rpm queries to determine which package(s) those files came
> > from, and lists them.  Thus making it easier to see exactly what
> > packages are needed to build the new one.
> >
> > It looks like it was last packaged a long time ago in RedHat 7.  I
> > can throw my slightly modified SRPM up somewhere if you'd like to
> > take a look.
>
> The method I use when determining build requirements is roughly:
>
> 1) Look at the source tarball I am packaging and see what the
>   documented requirements are, and add those to the spec file.
>
> 2) Build the package in mock, which builds in an environment with very
>   few packages installed.  If there are build requirements not listed
>   in the spec file, the build will fail.  I then add the build
>   requirement and build again.  Repeat until successful.
>
> It sounds like InDependence works the other way, by assuming you have
> all development packages installed and then culling out what was
> needed using strace after the package is built.  That seems a bit
> impractical and error prone.  But to each his own. :)
>

Yeah, you would have to weed out packages that are expected to be
there as a part of the base build enviroment, but other than that I
think it would work well.  I'm considering trying the
rpmdev-rmdevelrpms, and working for there, or maybe I should just go
find a good guide to mock.

=-Jameson

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux