On 09/22/2009 02:18 PM, Gino LV. Ledesma wrote:
Alternatively, I've been doing:
rpm2cpio | cpio -i --make-directories
# mv sources/patches to source dir
rpm --rebuild<spec>
Granted, it won't be the original SRPM anymore, but it helps if you
don't have access to newer systems yet.
HTH,
gino
On Tue, Sep 22, 2009 at 10:59 AM, Todd Zullinger<tmz(a)pobox.com> wrote:
> Scott Henson wrote:
>
>> If you have an f11 system handy, you can rebuild the srcrpm with
>> rpmbuild-md5.
>>
> Worth noting that rpmbuild-md5 comes from fedora-packager. It's a
> very simple wrapper that just sets two definitions so that the
> packages created by newer rpm versions can be read by older versions.
> To do it manually, just use:
>
> rpmbuild --define "_source_filedigest_algorithm md5" \
> --define "_binary_filedigest_algorithm md5" ...
>
> This might be good to add to any automated rpm creation scripts if
> they're creating packages meant for use on RHEL or Fedora 10 systems.
>
> --
> Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL:
www.pobox.com/~tmz/pgp
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Never argue with an idiot. First, they drag you down to their level,
> then beat you with experience.
> -- Ben Adams
>
>
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/cobbler
>
>
>
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler