packaging: Fixup removal of pamconsole-tmp.conf
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 13 Oct 2020 08:52:24 +0000 (10:52 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 25 Jan 2024 14:15:26 +0000 (15:15 +0100)
Change-Id: Id8c736f5d00823a67446df98e19f8e9faa6536ca

packaging/systemd.spec

index b354ea4..071b2e3 100644 (file)
@@ -56,7 +56,6 @@ Summary:        A System and Service Manager
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Group:          Base/Startup
 Source0:        https://github.com/systemd/systemd/archive/v%{version}.tar.gz
-Source1:        pamconsole-tmp.conf
 Source2:        %{name}-rpmlintrc
 Source3:        test-runner.c
 Source4:        wait-default-target.sh
@@ -299,8 +298,6 @@ EOF
 # Fix the dangling /var/lock -> /run/lock symlink
 install -Dm644 tmpfiles.d/legacy.conf %{buildroot}%{_prefix}/lib/tmpfiles.d/legacy.conf
 
-install -m644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/
-
 install -m 755 -d %{buildroot}/%{_prefix}/lib/systemd/system
 
 rm -rf %{buildroot}/%{_docdir}/%{name}
@@ -637,7 +634,6 @@ fi
 %{_prefix}/lib/tmpfiles.d/home.conf
 %{_prefix}/lib/tmpfiles.d/journal-nocow.conf
 %{_prefix}/lib/tmpfiles.d/legacy.conf
-%{_prefix}/lib/tmpfiles.d/pamconsole-tmp.conf
 %{_prefix}/lib/tmpfiles.d/systemd.conf
 %{_prefix}/lib/tmpfiles.d/systemd-nologin.conf
 %if 0%{?WITH_MACHINED}