Accepting request 335992 from home:pluskalm:branches:security

- Do not ship .la files

OBS-URL: https://build.opensuse.org/request/show/335992
OBS-URL: https://build.opensuse.org/package/show/security/ecryptfs-utils?expand=0&rev=64
This commit is contained in:
Marcus Meissner 2015-10-07 12:22:36 +00:00 committed by Git OBS Bridge
parent 132a89dded
commit 38ac891625
2 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,11 @@ Wed Oct 7 12:20:58 UTC 2015 - meissner@suse.com
- delete the libtool archive .la files - delete the libtool archive .la files
-------------------------------------------------------------------
Fri Oct 2 19:55:18 UTC 2015 - mpluskal@suse.com
- Do not ship .la files
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 30 14:30:56 UTC 2015 - mpluskal@suse.com Wed Sep 30 14:30:56 UTC 2015 - mpluskal@suse.com

View File

@ -108,7 +108,10 @@ find %{buildroot} -name "*.la" |xargs rm
%suse_update_desktop_file %{buildroot}/%{_datadir}/%{name}/ecryptfs-mount-private.desktop %suse_update_desktop_file %{buildroot}/%{_datadir}/%{name}/ecryptfs-mount-private.desktop
%suse_update_desktop_file -r ecryptfs-setup-private System Security %suse_update_desktop_file -r ecryptfs-setup-private System Security
%find_lang %{name} %find_lang %{name}
# replace duplicate files by symlinks
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
# do not ship .la files
find %{buildroot} -type f -name "*.la" -delete -print
#we need ecryptfs kernel module #we need ecryptfs kernel module
mkdir -p %{buildroot}%{_libexecdir}/modules-load.d/ mkdir -p %{buildroot}%{_libexecdir}/modules-load.d/
@ -160,7 +163,6 @@ fi
%defattr(-, root, root) %defattr(-, root, root)
%{_includedir}/ecryptfs.h %{_includedir}/ecryptfs.h
%{_libdir}/libecryptfs.so %{_libdir}/libecryptfs.so
%{_libdir}/libecryptfs.la
%{_libdir}/pkgconfig/libecryptfs.pc %{_libdir}/pkgconfig/libecryptfs.pc
%changelog %changelog