On 12/11/2022 5:03 PM, Barry Scott wrote:
On 11 Dec 2022, at 21:55, Bill Cunningham <bill.cu1234@xxxxxxxxx> wrote:
On 12/11/2022 4:07 PM, Tom Horsley wrote:
rpm -q -i genisoimage
Will print the name of the source rpm (if you look close :-).
Sometime the source rpm name is radically different than the
binary of one bit of it.
Then you should be able to
dnf download --source source-rpm-name
neither '--source' nor '-source' seem to work as an option. It doesn't seem to be recognized by my system.
I expect that you did not use the .src.rpm name which is cdrkit.
It is not required that a built RPM's name match its .SRC.RPM name.
Indeed one .SRC.RPM can build into many .RPM files.
I got that name from the command that Tom suggested:
$ rpm -q -i genisoimage
Name : genisoimage
Version : 1.1.11
Release : 50.fc37
Architecture: x86_64
Install Date: Sun 11 Dec 2022 21:57:49 GMT
Group : Unspecified
Size : 1193567
License : GPLv2
Signature : RSA/SHA256, Thu 21 Jul 2022 00:03:23 BST, Key ID f55ad3fb5323552a
Source RPM : cdrkit-1.1.11-50.fc37.src.rpm
Build Date : Wed 20 Jul 2022 23:50:41 BST
Build Host : buildvm-x86-32.iad2.fedoraproject.org
Packager : Fedora Project
Vendor : Fedora Project
URL : http://cdrkit.org/
Bug URL : https://bugz.fedoraproject.org/cdrkit
Summary : Creates an image of an ISO9660 file-system
And this is the download working:
$ dnf download --source cdrkit
Hm. I typed exactly what you did above, what I got was:
rpm: --source: unknown option
[...]
B
_______________________________________________
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