Re: local / scratch builds with fedpkg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-08-03 at 15:06 +0100, David Woodhouse wrote:

> $ i386 fedpkg local --arch=i686
>  ...
> + ./configure --build=x86_64-unknown-linux-gnu
> --host=x86_64-unknown-linux-gnu --program-prefix=
> --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
> --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
> --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
> --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib
> --mandir=/usr/share/man --infodir=/usr/share/info --disable-gtk-doc
> --enable-static --with-runtime-libdir=../../lib

'i386 fedpkg mockbuild' should work, although that's not what you asked
for.

> $ fedpkg scratch-build
> Traceback (most recent call last):
>   File "/usr/bin/fedpkg", line 959, in <module>
>     args.command(args)
>   File "/usr/bin/fedpkg", line 573, in scratchbuild
>     build(args)
>   File "/usr/bin/fedpkg", line 319, in build
>     url, chain)
>   File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line
> 797, in build
>     raise FedpkgError('There are unpushed changes in your repo')
> pyfedpkg.FedpkgError: There are unpushed changes in your repo

% fedpkg scratch-build --help
usage: fedpkg scratch-build [-h] [--nowait] [--background]
                            [--arches [ARCHES [ARCHES ...]]] [--srpm SRPM]

optional arguments:
  -h, --help            show this help message and exit
  --nowait              Don't wait on build
  --background          Run the build at a lower priority
  --arches [ARCHES [ARCHES ...]]
                        Build for specific arches
  --srpm SRPM           Build from srpm

I suspect --srpm is what you're looking for.

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux