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
On 08/09/2012 02:38 PM, David A. Marlin wrote:
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)?
Looks like you skipped the ./autogen.sh step, or had errors with it that you aren't posting here.
anaconda-devel@lists.stg.fedoraproject.org