Remove duplicated pam systemd-user file
This commit is contained in:
parent
c763537617
commit
3ce3375cc6
10
systemd.spec
10
systemd.spec
@ -83,7 +83,7 @@ Source24: sysusers.generate-pre.sh
|
|||||||
%if 0
|
%if 0
|
||||||
GIT_DIR=../../src/systemd/.git git format-patch-ab --no-signature -M -N v235..v235-stable
|
GIT_DIR=../../src/systemd/.git git format-patch-ab --no-signature -M -N v235..v235-stable
|
||||||
i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done|xclip
|
i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done|xclip
|
||||||
GIT_DIR=../../src/systemd/.git git diffab -M v233..master@{2017-06-15} -- hwdb/[67]* hwdb/parse_hwdb.py > hwdb.patch
|
GIT_DIR=../../src/systemd/.git git diffab -M v233..master@{2017-06-15} -- hwdb/[67]* hwdb/parse_hwdb.py >hwdb.patch
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Backports of patches from upstream (0000–0499)
|
# Backports of patches from upstream (0000–0499)
|
||||||
@ -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