From ee77397d9fd9890e3f384930a775db3d06976138 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 1 Feb 2017 15:55:59 +0100 Subject: [PATCH] Do not install the unit test binary for krb5samba --- ...ll-the-unit-test-binary-for-krb5samb.patch | 26 +++++++++++++++++++ samba.spec | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 0001-waf-Do-not-install-the-unit-test-binary-for-krb5samb.patch diff --git a/0001-waf-Do-not-install-the-unit-test-binary-for-krb5samb.patch b/0001-waf-Do-not-install-the-unit-test-binary-for-krb5samb.patch new file mode 100644 index 0000000..70c2696 --- /dev/null +++ b/0001-waf-Do-not-install-the-unit-test-binary-for-krb5samb.patch @@ -0,0 +1,26 @@ +From 777499d2371a2f48472f8a353d95f1a9318b352b Mon Sep 17 00:00:00 2001 +From: Andreas Schneider +Date: Wed, 1 Feb 2017 15:53:44 +0100 +Subject: [PATCH] waf: Do not install the unit test binary for krb5samba + +BUG: https://bugzilla.samba.org/show_bug.cgi?id=12552 + +Signed-off-by: Andreas Schneider +--- + testsuite/unittests/wscript | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/testsuite/unittests/wscript b/testsuite/unittests/wscript +index ea4af07799f..e2569513d49 100644 +--- a/testsuite/unittests/wscript ++++ b/testsuite/unittests/wscript +@@ -12,4 +12,5 @@ def build(bld): + if bld.CONFIG_SET('HAVE_CMOCKA'): + bld.SAMBA_BINARY('test_krb5samba', + source='test_krb5_samba.c', +- deps='krb5samba cmocka') ++ deps='krb5samba cmocka', ++ install=False) +-- +2.11.0 + diff --git a/samba.spec b/samba.spec index 5dd63ad..cbcf0eb 100644 --- a/samba.spec +++ b/samba.spec @@ -97,6 +97,8 @@ Source0: samba-%{version}%{pre_release}.tar.xz Source1: samba-%{version}%{pre_release}.tar.asc Source2: gpgkey-52FBC0B86D954B0843324CDC6F33915B6568B7EA.gpg +Patch0: 0001-waf-Do-not-install-the-unit-test-binary-for-krb5samb.patch + # Red Hat specific replacement-files Source10: samba.log Source11: smb.conf.vendor