diff --git a/0002-Don-t-use-srcdir-with-tests.patch b/0002-Don-t-use-srcdir-with-tests.patch new file mode 100644 index 0000000..968fa2c --- /dev/null +++ b/0002-Don-t-use-srcdir-with-tests.patch @@ -0,0 +1,30 @@ +From 2cdcd10751f2e3f152124f698ae35d7947ca4771 Mon Sep 17 00:00:00 2001 +From: Jakub Hrozek +Date: Thu, 31 Jan 2013 18:52:08 +0100 +Subject: [PATCH] Don't use srcdir with tests + +Fixes build with automake 1.13 or newer. +--- + Makefile.am | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 8a47af8ddb4eb274d390ec0bf3010736cb23b992..64708216103e48facf780f246de5668c8e0b26a7 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -146,9 +146,9 @@ check_PROGRAMS = \ + PYTHON_TESTS = + + if BUILD_PYTHON_BINDINGS +-PYTHON_TESTS += $(srcdir)/src/config/SSSDConfigTest.py \ +- $(srcdir)/src/tests/pyhbac-test.py \ +- $(srcdir)/src/tests/pysss_murmur-test.py ++PYTHON_TESTS += src/config/SSSDConfigTest.py \ ++ src/tests/pyhbac-test.py \ ++ src/tests/pysss_murmur-test.py + endif + + TESTS = \ +-- +1.8.1 + diff --git a/sssd.spec b/sssd.spec index 2a3d405..97581be 100644 --- a/sssd.spec +++ b/sssd.spec @@ -16,7 +16,7 @@ Name: sssd Version: 1.9.4 -Release: 3%{?dist} +Release: 4%{?dist} Group: Applications/System Summary: System Security Services Daemon License: GPLv3+ @@ -26,6 +26,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) ### Patches ### Patch0001: 0001-krb-recreate-ccache-if-it-was-deleted.patch +Patch0002: 0002-Don-t-use-srcdir-with-tests.patch Patch0501: 0501-FEDORA-Switch-the-default-ccache-location.patch @@ -525,6 +526,9 @@ fi %postun -n libsss_sudo -p /sbin/ldconfig %changelog +* Mon Feb 04 2013 Jakub Hrozek - 1.9.4-4 +- Fix build with new automake versions + * Wed Jan 30 2013 Jakub Hrozek - 1.9.4-3 - Recreate Kerberos ccache directory if it's missing - Resolves: rhbz#853558 - [sssd[krb5_child[PID]]]: Credential cache