Add a patch to fix parallel builds with autgenerated sources
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
This commit is contained in:
parent
c5ec6f9ed9
commit
38c8f7482a
13
pam-1.5.2-pam_console-fix_parallel_build.patch
Normal file
13
pam-1.5.2-pam_console-fix_parallel_build.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: Linux-PAM-1.5.2/modules/pam_console/Makefile.am
|
||||
===================================================================
|
||||
--- Linux-PAM-1.5.2.orig/modules/pam_console/Makefile.am
|
||||
+++ Linux-PAM-1.5.2/modules/pam_console/Makefile.am
|
||||
@@ -44,6 +44,8 @@ secureconf_DATA = console.perms console.
|
||||
FLEX_OPTS = -Cr
|
||||
BISON_OPTS = -d
|
||||
|
||||
+BUILT_SOURCES = configfile.tab.c configfile.lex.c
|
||||
+
|
||||
pam_console_la_SOURCES = pam_console.c pam_console.h regerr.c handlers.c handlers.h
|
||||
pam_console_apply_SOURCES = pam_console_apply.c pam_console.h chmod.c modechange.c regerr.c \
|
||||
configfile.c configfile.h hashtable.c hashtable.h hashtable_private.h
|
11
pam.spec
11
pam.spec
@ -4,7 +4,7 @@
|
||||
Summary: An extensible library which provides authentication for applications
|
||||
Name: pam
|
||||
Version: 1.5.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
# The library is BSD licensed with option to relicense as GPLv2+
|
||||
# - this option is redundant as the BSD license allows that anyway.
|
||||
# pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+.
|
||||
@ -29,7 +29,8 @@ Source18: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
||||
Patch1: pam-1.5.0-redhat-modules.patch
|
||||
Patch2: pam-1.5.0-noflex.patch
|
||||
Patch3: pam-1.3.0-unix-nomsg.patch
|
||||
Patch4: pam-1.5.2-pam_console-fix_setgroups_not_defined.patch
|
||||
Patch4: pam-1.5.2-pam_console-fix_parallel_build.patch
|
||||
Patch5: pam-1.5.2-pam_console-fix_setgroups_not_defined.patch
|
||||
|
||||
%{load:%{SOURCE3}}
|
||||
|
||||
@ -109,7 +110,8 @@ cp %{SOURCE18} .
|
||||
%patch1 -p1 -b .redhat-modules
|
||||
%patch2 -p1 -b .noflex
|
||||
%patch3 -p1 -b .nomsg
|
||||
%patch4 -p1 -b .setgroups_not_defined
|
||||
%patch4 -p1 -b .parallel_build
|
||||
%patch5 -p1 -b .setgroups_not_defined
|
||||
|
||||
autoreconf -i
|
||||
|
||||
@ -387,6 +389,9 @@ test "$FILE" != %{_sysconfdir}/authselect/fingerprint-auth && \
|
||||
exit 0
|
||||
|
||||
%changelog
|
||||
* Wed Sep 22 2021 Björn Esser <besser82@fedoraproject.org> - 1.5.2-2
|
||||
- Add a patch to fix parallel builds with autgenerated sources
|
||||
|
||||
* Sat Sep 04 2021 Björn Esser <besser82@fedoraproject.org> - 1.5.2-1
|
||||
- Rebase to release 1.5.2
|
||||
Resolves: #2001208
|
||||
|
Loading…
Reference in New Issue
Block a user