Dne 8.3.2018 v 09:15 Igor Gnatenko napsal(a):
> On Wed, 2018-03-07 at 09:21 +0100, Lukas Czerner wrote:
> > Hi,
>
> > how do I test my changes are working properly ? So far my builds
> > succeeded without problems.
>
> Probably easiest way would be to copy existing /etc/mock/fedora-
> rawhide-x86_64.cfg and replace "@buildsys-build" in line
> config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
>
> to
>
> "bash bzip2 coreutils cpio diffutils fedora-release findutils gawk grep
> gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar
> unzip util-linux which xz"

For (lazy as I am ;) ) people who don't want to change their config
files, this should be roughly equivalent:

~~~
$ mock --init
$ mock --remove gcc
$ mock your.srpm --no-clean
~~~

But Igor's suggestion is definitely better option.


Vít

>
> > Thanks!
> > -Lukas
>
> > On Wed, Mar 07, 2018 at 08:43:21AM +0100, Igor Gnatenko wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA256
> >>
> >> This is the second iteration of my mass-scratch-rebuild without
> >> gcc/gcc-c++ in the buildroot[0]. Everything what was written in
> >> original mail still applies.
> >>
> >> Since people might have fixed their packages after I started
> >> rebuild, I
> >> decided to include information about commits I have used to build
> >> packages. Hope this helps.
> >>
> >>
> >> New list of packages, their commits and build logs are available:
> >> * https://ignatenkobrain.fedorapeople.org/gcc-removal-pkgs-2.txt
> >> * https://ignatenkobrain.fedorapeople.org/gcc-removal-pkgs-commits-
> >> 2.tx
> >> t
> >> * https://ignatenkobrain.fedorapeople.org/gcc-removal-2.txt
> >>
> >>
> >> [0] https://lists.fedoraproject.org/archives/list/devel-announce@li
> >> sts.
> >> fedoraproject.org/thread/IJFYI5Q2BYZKIGDFS2WLOBDUSEGWHIKV/
> >> - --
> >> - -Igor Gnatenko
> >> 
> _______________________________________________ > devel mailing list -- 
> devel@lists.fedoraproject.org > To unsubscribe
send an email to devel-le...@lists.fedoraproject.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to