Re: creating own RPMs

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

 



David Hláčik wrote:
> I will be creating rpm packages for software company i work for. I
> have built a lot of rpm packages by myself, so I have experience
> with that.  But my question is : How to make this process more
> comfortable and improve efficiency.
>
> So far i was creating packages by using rpmdevtools and rpmbuild
> itself.  I've read about mock , which is chrooted environment for
> building SRPMs . But does this mock can be applied on spec files? Do
> i need to prepare srpm package before i can work with mock? If so,
> this will not help me much.

Yes, you need to feed mock an srpm.  But that's easy enough.

Mock is useful in ensuring that you have reproducible builds.  Using
rpmbuild you may not notice needed dependencies or might pick up
unwanted deps.  Plus, using mock you can create packages for different
versions of Fedora and RHEL/CentOS.

If you need to build a lot of packages, you could look into using
koji, which helps coordinate mock builders and can create srpms to
feed mock from various version control systems.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nothing in education is so astonishing as the amount of ignorance it
accumulates in the form of inert facts.  --Henry Brooks Adams

Attachment: pgpkaVR91twt8.pgp
Description: PGP signature

-- 
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