%pre must not be empty

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1111
This commit is contained in:
Franck Bui 2020-08-28 20:03:31 +00:00 committed by Git OBS Bridge
parent c74b1a000c
commit 13448b7011
2 changed files with 2 additions and 0 deletions

View File

@ -786,6 +786,7 @@ cat %{S:14} >>%{buildroot}%{_datarootdir}/systemd/kbd-model-map
# a %pre that needs to be run during the build. systemd is one of them # a %pre that needs to be run during the build. systemd is one of them
# so keep the section even if it's empty. # so keep the section even if it's empty.
%pre %pre
:
%post %post
# Make /etc/machine-id an empty file during package installation. On # Make /etc/machine-id an empty file during package installation. On

View File

@ -784,6 +784,7 @@ cat %{S:14} >>%{buildroot}%{_datarootdir}/systemd/kbd-model-map
# a %pre that needs to be run during the build. systemd is one of them # a %pre that needs to be run during the build. systemd is one of them
# so keep the section even if it's empty. # so keep the section even if it's empty.
%pre %pre
:
%post %post
# Make /etc/machine-id an empty file during package installation. On # Make /etc/machine-id an empty file during package installation. On