Re: is it possible to download a spec file only using yum?

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

 



On 02/21/13 10:39, Matthew Miller wrote:
> On Wed, Feb 20, 2013 at 07:16:08PM -0600, Ranjan Maitra wrote:
>> I was wondering if it is possible to download a spec file using yum
>> or rpm only (without downloading the rpm)?
> 
> No, but there's a better way! All of our spec files are available in git,
> and the "fedpkg" command is a nice wrapper around access to the repository.
> So:
> 
> $ sudo yum install fedpkg
> [...]
> $ fedpkg clone firefox
> Cloning into 'firefox'...
> remote: Counting objects: 3234, done.
> remote: Compressing objects: 100% (1979/1979), done.
> remote: Total 3234 (delta 1702), reused 2424 (delta 1210)
> Receiving objects: 100% (3234/3234), 741.50 KiB | 313 KiB/s, done.
> Resolving deltas: 100% (1702/1702), done.
[…]

fedpkg --user poma -v clone firefox
Cloning ssh://poma@xxxxxxxxxxxxxxxxxxxxxx/firefox
Running git clone ssh://poma@xxxxxxxxxxxxxxxxxxxxxx/firefox directly on
the tty
Cloning into 'firefox'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Could not execute clone: Command '['git', 'clone',
'ssh://poma@xxxxxxxxxxxxxxxxxxxxxx/firefox']' returned non-zero exit
status 128
--

In contrast:
fedpkg -v clone -a firefox
Cloning git://pkgs.fedoraproject.org/firefox
Running git clone git://pkgs.fedoraproject.org/firefox directly on the tty
Cloning into 'firefox'...
remote: Counting objects: 3234, done.
remote: Compressing objects: 100% (1979/1979), done.
remote: Total 3234 (delta 1704), reused 2424 (delta 1210)
Receiving objects: 100% (3234/3234), 708.87 KiB | 372 KiB/s, done.
Resolving deltas: 100% (1704/1704), done.
--

Shouldn't the default be an '-a'(anonymous) check out via git?


Cheers,
poma


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[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