Aria Stewart (aredridel) wrote,
Aria Stewart
aredridel

How to set up a PLD CVS tree to use the builder script

mkdir -p ~/rpm/{SPECS,SOURCES,BUILD,RPMS,SRPMS}
mkdir ~/rpm/{SPECS,SOURCES}/CVS
echo ':pserver:cvs@cvs.pld-linux.org:/cvsroot' > ~/rpm/SPECS/CVS/Root
echo ':pserver:cvs@cvs.pld-linux.org:/cvsroot' > ~/rpm/SOURCES/CVS/Root
touch ~/rpm/{SPECS,SOURCES}/CVS/Entries
echo 'SPECS' > ~/rpm/SPECS/CVS/Repository
echo 'SOURCES' > ~/rpm/SOURCES/CVS/Repository
poldek -i cvs rpm-build
cd ~/rpm/SPECS
cvs up builder
./builder yourpackagename

If you want the whole SPECS tree, run cvs up in the SPECS directory, and it'll download the ten thousand-odd spec files.

If you make changes, run the ./adapter script on the spec to check for sylistic glitches. Make sure that adapter is sane, though, since it can be over-aggressive. If the changes are generally useful, send the new spec (or better, a diff — one can be made with cvs diff file.spec) to the PLD developer's list

Subscribe

  • (no subject)

    You do occasionally visit Boston Public Library, yes? If not, get on it! You were raised in and on libraries. They are in your blood! You…

  • (no subject)

    "I had never been in a room of people who were going to say 'yes' to me before." My friend and I crammed into a rush hour crowded train…

  • Recipe: Storm in the Garden

    Recipe: Storm in the Garden Ingredients 10 ml lavender vodka 10 ml orange vodka 10 ml hibiscus vodka 200 ml ginger ale ice…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments