Re: genisoimage source

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

 



Bill Cunningham wrote:
> On 12/11/2022 6:51 PM, Tom Horsley wrote:
>> For source rpms you need to setup a ~/.rpmmacros file to tell it
>> where to put the unpacked source, then a command like

The default is ~/rpmbuild.  There's no need to create
~/.rpmmacros unless you need to change the defaults.

>> Dealing with source rpms the first time is always a confusing
>> experience, but you can probably find better documentation
>> than this short message.
> 
> I do certainly appreciate this Tom. It does look confusing. I will work on
> it though.

If you simply want to view the source of the Fedora package,
you can do that at https://src.fedoraproject.org/rpms/cdrkit
(now that you know the source rpm can -- and in this case,
does -- differ from the binary rpm).  Looking at the files
this way may be sufficient, depending on your end goal.

If you do want the source locally, an alternative to
downloading the SRPM and using rpm to "install" it is the
fedpkg command.

To download the package source for cdrkit you would run:

    fedpkg clone -a cdrkit

This clones the git repository you see at the URL above.
From there, you can change to the cdrkit directory, switch
to the f37 (or f36) branch and extract the source:

    cd cdrkit
    fedpkg switch-branch f37
    fedpkg prep

Now the cdrkit-1.1.11 directory will be present and contains
the upstream source along with any Fedora patches applied.

-- 
Todd

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux