INFO: cvs downtime
Elan Ruusamäe
glen at pld-linux.org
Tue Apr 28 17:29:52 CEST 2009
On Tuesday 28 April 2009 18:05:53 Jan Rekorajski wrote:
> On Tue, 28 Apr 2009, Elan Ruusamäe wrote:
> > how do i get list of all existing .spec files? i'm used to "search"
> > packages that way.
>
> Currently only by checking out whole packages/ tree.
> Suggestions are welcome.
triggered symlinks on commits like it was done for filling packages/ tree?
> > also relative topdir no longer works:
> >
> > glen at wintersunset packages/rrdtool $ ../builder -bp rrdtool
> > builder: SMP make flags are set to -j16
> > ../builder[2505]: cd: /home/glen/rpm/packages - No such file or directory
>
> [...]
>
> I don't know how it ever worked for you (fancy .rpmmacros?).
> Feel free to make it work again, as I can't fully grasp what you're
> trying to achieve.
call it "official one":
$ grep _topdir /usr/lib/rpm/macros.build
%_topdir %{expand:%%global _topdir %(test -d ../SPECS -a -d ../SOURCES && (cd ..; pwd) || echo $HOME/rpm)}%_topdir
i'm just pissed that nobody warned such things like whole tree migrate are going to be done, just was only said "it is going to be done, now, 20 minutes ago"
because i'm so much used to the old paths, i can't even type anymore, which pisses me off even more.
cd ../BUILD/something <--- to the build dir of code
cd -SP <- cd back to specs dir
./compile.sh something <-- run %build
cd - <--- back to code source dir
ls ../all-specs/*something* <-- find pkg matching "something"
grep -r somesymbol <- find packages matching somesymbols
mv ../RPMS/* ../packages ( <---- now this path has been evilly overtaken by pld repo)
./adapter specname <- adapter program not present
./repackage specname <- repackage.sh program not present
i tried to reuse old structure being:
%_topdir = ~/rpm/pld/SPECS
but that fails too as builder script has hardcoded %_topdir/packages
such (filesystem) structure would be acceptable, but having buildri under SPECS is impossible as for that package name is needed to know:
rpm/SPECS = cvs/packages
rpm/SPECS/package = cvs/packages/package
rpm/SPECS/package/package-1.23 = build dir of package version 1.23
rpm/RPMS = resulting rpm's
rpm/SPRPMS = resulting srpm's
--
glen
More information about the pld-devel-en
mailing list