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

Michael Schwendt mschwendt at gmail.com
Sat Feb 23 13:03:32 UTC 2013


On Sat, 23 Feb 2013 10:03:24 +0100, poma wrote:

> On 02/23/13 04:45, Orcan Ogetbil wrote:
> > On Thu, Feb 21, 2013 at 8:00 PM, poma  wrote:
> >> deco grub2-2.00-16.fc19.src.rpm
> >> 13020 blocks
> > [backtrace cut]
> >> Aborted
> >> --
> > 
> > Hmm, the crash does not happen here. How reproducible is this? Can you debug?
> > 
> 
> Installed from source - PREFIX = /usr
> deco -v deco-archive-1.5.1-5.fc19.src.rpm deco-1.6.2-5.fc19.src.rpm
> deco-archive-1.5.1.tar.gz
> deco-archive-ape.diff
> deco-archive-shn.diff
> deco-archive-zoo.diff
> deco-archive.spec
> 27 blocks
> deco-archive-1.5.1-5.fc19.src/
> deco-1.6.2.tar.gz
> deco.spec
> 30 blocks
> deco-1.6.2-5.fc19.src/
> 
> > Just as a side information; deco is a nice cute tool that is a wrapper
> > around other extractors so you don't need to memorize their syntax. In
> > case of rpm it wraps rpm2cpio.
> 
> Yep.
> /usr/share/deco/rpm/extract
> #!/bin/sh
>> rpm2cpio "$1" | cpio -idmu${Verbose+v}
> --
> 
> /usr/share/deco/rpm/subdirectory: empty!?
> deco-archive.spec is unnecessarily complicated.
> Someone likes the scripting.

By default it installs into /usr/local/share/deco, but the Fedora rpms
override that to /var/lib/deco when running Make.

Nevertheless, building from source isn't a safe fix either, since it only
uses different compiler flags. The crash is due to uninitialized pointers
 -> bug 914659

So, don't blame the packaging alone. The C source isn't pretty.

-- 
Fedora release 18 (Spherical Cow) - Linux 3.7.2-204.fc18.x86_64
loadavg: 0.19 0.14 0.09


More information about the users mailing list