From 1522d335608690b24c6258d0c695ee27744d019a40572fb58b87ffba155e5cfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Thu, 25 Sep 2014 14:54:45 +0000 Subject: [PATCH] Exclude unwanted libdnsserver_common and libdfs_server_ad shared libs and the man page of the unused findsmb script. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=435 --- patches.tar.bz2 | 4 ++-- samba.changes | 6 ++++++ samba.spec | 13 +++++++------ vendor-files.tar.bz2 | 4 ++-- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/patches.tar.bz2 b/patches.tar.bz2 index 5f2b02e..9dd5af3 100644 --- a/patches.tar.bz2 +++ b/patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:62dfd3898371f08a7bb86e4219ba633b5ef33b857c196234bc02ed0a0be282e4 -size 281071 +oid sha256:9b0ebc1ba2d74570970bb371a2e829c9e4edc64a977738379b66450f577da86b +size 279853 diff --git a/samba.changes b/samba.changes index b22d379..9667769 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 25 12:44:48 UTC 2014 - lmuelle@suse.com + +- Exclude unwanted libdnsserver_common and libdfs_server_ad shared libs and + the man page of the unused findsmb script. + ------------------------------------------------------------------- Tue Sep 23 16:55:55 UTC 2014 - ddiss@suse.com diff --git a/samba.spec b/samba.spec index 9302778..2022594 100644 --- a/samba.spec +++ b/samba.spec @@ -145,7 +145,7 @@ BuildRequires: systemd-devel %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -%define SOURCE_TIMESTAMP 3288 +%define SOURCE_TIMESTAMP 3289 %define BRANCH %{version} %global with_mitkrb5 1 %global with_dc 0 @@ -1269,9 +1269,12 @@ make install \ DESTDIR=%{buildroot} \ CONFIGDIR=%{CONFIGDIR} -# remove ildap.so and ldbsamba_extensions.so from %{_libdir}/samba/ldb +# debug symbols are created and installed if the files are excluded only %if ! %with_dc -rm -r %{buildroot}/%{_libdir}/samba/ldb +rm %{buildroot}/%{_libdir}/samba/ldb/ildap.so \ + %{buildroot}/%{_libdir}/samba/ldb/ldbsamba_extensions.so \ + %{buildroot}/%{_libdir}/samba/libdnsserver_common.so \ + %{buildroot}/%{_libdir}/samba/libdfs_server_ad.so %endif # Clean out files left behind by the PIDL install. @@ -1855,7 +1858,7 @@ fi %dir %{_libdir}/samba %{_libdir}/samba/charset %doc %{_mandir}/man1/dbwrap_tool.1.* -%doc %{_mandir}/man1/findsmb.1.* +%exclude %doc %{_mandir}/man1/findsmb.1.* %doc %{_mandir}/man1/log2pcap.1.* %doc %{_mandir}/man1/nmblookup.1.* %doc %{_mandir}/man1/nmblookup4.1.* @@ -1984,7 +1987,6 @@ fi %{_libdir}/samba/libauth_sam_reply.so %{_libdir}/samba/libauth_unix_token.so %{_libdir}/samba/libauthkrb5.so -%{_libdir}/samba/libdnsserver_common.so %{_libdir}/samba/libccan.so %{_libdir}/samba/libcli-ldap-common.so %{_libdir}/samba/libcli-ldap.so @@ -1998,7 +2000,6 @@ fi %{_libdir}/samba/libdbwrap.so %{_libdir}/samba/libdcerpc-samba.so %{_libdir}/samba/libdcerpc-samba4.so -%{_libdir}/samba/libdfs_server_ad.so %{_libdir}/samba/libdsdb-module.so %{_libdir}/samba/liberrors.so %{_libdir}/samba/libevents.so diff --git a/vendor-files.tar.bz2 b/vendor-files.tar.bz2 index c5d4dea..fe95470 100644 --- a/vendor-files.tar.bz2 +++ b/vendor-files.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:33d2864e4f9df2c659b1f1b0e45ee3ee95bee70fcdf2cebe6876c3d1c5871226 -size 54802 +oid sha256:8fcc58ab647e90ab06d1ba0612feca58122d2c908bee26f89f4152a885dfcdcb +size 54879