Remove duplicated pam systemd-user file
This commit is contained in:
parent
c763537617
commit
3ce3375cc6
@ -451,6 +451,11 @@ package and is meant for use in non-systemd systems.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -n %{?commit:%{name}%{?stable:-stable}-%{commit}}%{!?commit:%{name}%{?stable:-stable}-%{version_no_tilde}} -p1
|
%autosetup -n %{?commit:%{name}%{?stable:-stable}-%{commit}}%{!?commit:%{name}%{?stable:-stable}-%{version_no_tilde}} -p1
|
||||||
|
|
||||||
|
test -f src/login/systemd-user.in
|
||||||
|
# Restore systemd-user pam config from before "removal of Fedora-specific bits".
|
||||||
|
# We'll systemd process it and install in the right place.
|
||||||
|
cp %{SOURCE12} src/login/systemd-user.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define ntpvendor %(source /etc/os-release; echo ${ID})
|
%define ntpvendor %(source /etc/os-release; echo ${ID})
|
||||||
%{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}
|
%{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}
|
||||||
@ -646,9 +651,6 @@ install -Dm0644 %{SOURCE4} %{buildroot}/etc/dnf/protected.d/systemd.conf
|
|||||||
|
|
||||||
install -Dm0644 -t %{buildroot}/usr/lib/firewalld/services/ %{SOURCE7} %{SOURCE8}
|
install -Dm0644 -t %{buildroot}/usr/lib/firewalld/services/ %{SOURCE7} %{SOURCE8}
|
||||||
|
|
||||||
# Restore systemd-user pam config from before "removal of Fedora-specific bits"
|
|
||||||
install -Dm0644 -t %{buildroot}/etc/pam.d/ %{SOURCE12}
|
|
||||||
|
|
||||||
# Install additional docs
|
# Install additional docs
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1234951
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1234951
|
||||||
install -Dm0644 -t %{buildroot}%{_pkgdocdir}/ %{SOURCE9}
|
install -Dm0644 -t %{buildroot}%{_pkgdocdir}/ %{SOURCE9}
|
||||||
|
Loading…
Reference in New Issue
Block a user