I wanted to do a scratch build of the current git master (head). I
tried following the instructions on:
https://fedoraproject.org/wiki/Using_Fedora_GIT
but I'm missing something in the process.
Initially I just tried:
fedpkg --dist=f18 srpm
but there was no spec file.
I then pulled down anaconda-18.3-1.fc18.src.rpm and borrowed the spec
file from there. Trying fedpkg again gave:
$ fedpkg --dist=f18 srpm
Could not make an srpm:
/discer.farm/es/scratch/dmarlin/gitfedora/anaconda is not a valid repo:
[Errno 2] No such file or directory:
'/es/scratch/dmarlin/gitfedora/anaconda/sources'
which is true, there is no 'sources' file in the repo.
I then tried the steps in the spec file:
# To generate Source0 do:
# git clone http://git.fedorahosted.org/git/anaconda.git
# git checkout -b archive-branch anaconda-%{version}-%{release}
# ./autogen.sh
# make dist
but encountered a new error:
$ make dist
make: *** No rule to make target `dist'. Stop.
because we don't have a Makefile (just Makefile.in).
What is the correct way to do a scratch build from the head of git
master (latest changes)?
Thank you,
d.marlin
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list