On Tuesday 28 of April 2009, Arkadiusz Miskiewicz wrote:
> On Tuesday 28 of April 2009, Arkadiusz Miskiewicz wrote:
> > Report any problems or ideas.
>
> If you want to fetch only specs then use this script:

And a script for building packages.

Example: $ pldrpmbuild -bb rpm/packages/alien/alien.spec

[ar...@carme-pld ~]$ more bin/pldrpmbuild
#!/bin/sh

for a in $@; do
        case "$a" in
                *.spec)
                SPEC="$a"
        ;;
        esac
done

SPECDIR="$(pwd)/${SPEC}"
SPECDIR=$(dirname ${SPECDIR})

exec rpmbuild --define "_specdir $SPECDIR" --define "_sourcedir $SPECDIR" $@


-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to