naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
ae4880
== Building systemd rpms for local development using rpmbuild --build-in-place ==
ae4880
ae4880
This approach is based on https://github.com/filbranden/git-rpmbuild
9e3166
and filbranden's talk during ASG2019 [https://www.youtube.com/watch?v=fVM1kJrymRM].
ae4880
ae4880
```
ae4880
git clone https://github.com/systemd/systemd
ae4880
fedpkg clone systemd fedora-systemd
ae4880
cd systemd
ae4880
rpmbuild -bb --build-in-place --noprep --define "_sourcedir $PWD/../fedora-systemd" --define "_rpmdir $PWD/rpms" --with inplace ../systemd.spec
ae4880
sudo dnf upgrade --setopt install_weak_deps=False rpms/*/*.rpm
ae4880
```
ae4880
ae4880
`--without lto` and `--without tests` may be useful to speed up the build.