Enable native user/group provide generation for the sysusers feature
Currently systemd has it's own conflicting user/group provide generation but we need the rpm one for the sysuser integration. This must not proceed before https://src.fedoraproject.org/rpms/systemd/pull-request/109 is merged + built because this involves a file-level conflict. Note that this does NOT enable the sysuser integration in rpm, merely the provides generation, but doing so will allow people to begin testing the actual integration.
This commit is contained in:
parent
b2f3d29371
commit
36cb2f2b43
10
rpm.spec
10
rpm.spec
@ -57,6 +57,7 @@ License: GPLv2+
|
|||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
Requires: popt%{_isa} >= 1.10.2.1
|
Requires: popt%{_isa} >= 1.10.2.1
|
||||||
Requires: curl
|
Requires: curl
|
||||||
|
Conflicts: systemd < systemd-253.5-5.fc39
|
||||||
Obsoletes: python2-rpm < %{version}-%{release}
|
Obsoletes: python2-rpm < %{version}-%{release}
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
@ -386,11 +387,6 @@ cmake \
|
|||||||
%install
|
%install
|
||||||
cd _build
|
cd _build
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
# temporarily remove useser handling fileattr
|
|
||||||
# as it is currently in systemd-rpm-macros
|
|
||||||
rm $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/sysusers.attr
|
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
||||||
@ -624,6 +620,10 @@ fi
|
|||||||
%doc %{_defaultdocdir}/rpm/API/
|
%doc %{_defaultdocdir}/rpm/API/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-3
|
||||||
|
- Enable user/group provide generation
|
||||||
|
- Add a conflict for systemd versions carrying their own
|
||||||
|
|
||||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.18.91-2
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.18.91-2
|
||||||
- Rebuilt for Python 3.12
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user