RPM %setup query

Ville Skyttä ville.skytta at iki.fi
Sat Feb 25 21:53:56 UTC 2006


On Sat, 2006-02-25 at 16:34 -0500, Michel Salim wrote:

> I'm packaging zeroinstall-injector for Extras, and the upstream
> tarball comes signed with GPG
[...]
> How can I tell %setup that it needs to do gpg --decrypt on the source

Hm, I'm confused, the tarball is signed but you're running --decrypt?

> Right now I'm calling gpg manually before %setup, moved the signed
> tarball out of the way, rename the unsigned tarball to the original
> name, run %setup and then restore the original signed tarball to its
> original name.

How about just:

    %prep
    %setup -c -T
    # do whatever is needed $stuff to %{SOURCEx}




More information about the fedora-extras-list mailing list