mock is nearly as fast as rpmbuild if you use use --no-clean
Do your edits, then build a srpm
rpm -bs whatever.spec
mock -r fedora-xx /path/to/whatever.srpm
the first build will be slow.
Do more edits
rpm -bs whatever.spec
mock -r fedora-xx --no-clean /path/to/whatever.srpm
the second build is
> On 9 Oct 2024, at 18:52, recoveredem...@riotgames.com wrote:
>
> Are you sure you want to install it on your workstation. The good
> habit is to NOT install builddeps and NOT running
> rpmbuild directly, but running
The point of RPMs is that I can install and uninstall.
The point of mock is t
> On 9 Oct 2024, at 12:22, Dominik 'Rathann' Mierzejewski
> wrote:
>
> You can do this with mock, too. Have you tried mock shell? You can edit
> the code using your favourite editor in /var/lib/mock//root/...
> and re-running the build command inside mock shell from another
> terminal.
But th
On Wednesday, 09 October 2024 at 00:23, Barry wrote:
> > On 8 Oct 2024, at 21:08, Miroslav Suchý wrote:
> >
> > Dne 08. 10. 24 v 7:09 odp. Barry Scott napsal(a):
> >> Now I have systemd .src.rpm installed next I needed the build deps
> >> so that I can do a rpmbuild.
> >
> > Are you sure you wa
> On 9 Oct 2024, at 11:09, Zbigniew Jędrzejewski-Szmek
> wrote:
>
> It'd be worth filing a bug for this. There were some bugs about
> dnf5 not reporting things, but this one seems egregious.
>
> Zbyszek
Done. Raised https://bugzilla.redhat.com/show_bug.cgi?id=2317531
Barry
--
On Tue, Oct 08, 2024 at 09:39:49PM -0700, Samuel Sieb wrote:
> The problem is that you're using "sudo" for this. dnf5 doesn't print the
> reason for the failure, which is unfortunate. If you do it with "dnf4", you
> do get the reason.
>
> $ sudo dnf4 builddep SPECS/systemd.spec
> RPM: error: Una
> On 9 Oct 2024, at 05:39, Samuel Sieb wrote:
>
> The problem is that you're using "sudo" for this. dnf5 doesn't print the
> reason for the failure, which is unfortunate. If you do it with "dnf4", you
> do get the reason.
Raised https://bugzilla.redhat.com/show_bug.cgi?id=2317531
>
> $ s
On 10/8/24 10:09 AM, Barry Scott wrote:
Now I have systemd .src.rpm installed next I needed the build deps
so that I can do a rpmbuild.
$ sudo dnf builddep systemd.spec
[sudo] password for barry:
Updating and loading repositories:
Fedora 41 - aarch64
> On 8 Oct 2024, at 21:08, Miroslav Suchý wrote:
>
> Dne 08. 10. 24 v 7:09 odp. Barry Scott napsal(a):
>> Now I have systemd .src.rpm installed next I needed the build deps
>> so that I can do a rpmbuild.
>
> Are you sure you want to install it on your workstation. The good habit is to
> NOT
Dne 08. 10. 24 v 7:09 odp. Barry Scott napsal(a):
Now I have systemd .src.rpm installed next I needed the build deps
so that I can do a rpmbuild.
Are you sure you want to install it on your workstation. The good habit is to NOT install builddeps and NOT running
rpmbuild directly, but running
Now I have systemd .src.rpm installed next I needed the build deps
so that I can do a rpmbuild.
$ sudo dnf builddep systemd.spec
[sudo] password for barry:
Updating and loading repositories:
Fedora 41 - aarch64
100% | 99.3 KiB/s | 18.3
11 matches
Mail list logo