implemented %%_keep_libtool_files support
This commit is contained in:
parent
da6b8ee250
commit
985f2b1512
@ -227,6 +227,7 @@
|
|||||||
@alt@ %{?_pkg_contents_index_all:export RPM_PKG_CONTENTS_INDEX_ALL=\"%_pkg_contents_index_all\"}\
|
@alt@ %{?_pkg_contents_index_all:export RPM_PKG_CONTENTS_INDEX_ALL=\"%_pkg_contents_index_all\"}\
|
||||||
@alt@ %{?_pkg_contents_index_bin:export RPM_PKG_CONTENTS_INDEX_BIN=\"%_pkg_contents_index_bin\"}\
|
@alt@ %{?_pkg_contents_index_bin:export RPM_PKG_CONTENTS_INDEX_BIN=\"%_pkg_contents_index_bin\"}\
|
||||||
@alt@ %{?_scripts_debug:export RPM_SCRIPTS_DEBUG=\"%_scripts_debug\"}\
|
@alt@ %{?_scripts_debug:export RPM_SCRIPTS_DEBUG=\"%_scripts_debug\"}\
|
||||||
|
@alt@ %{?_keep_libtool_files:export RPM_KEEP_LIBTOOL_FILES=\"%_keep_libtool_files\"}\
|
||||||
@alt@ %{?__python:export RPM_PYTHON=\"%__python\"}\
|
@alt@ %{?__python:export RPM_PYTHON=\"%__python\"}\
|
||||||
@alt@ \
|
@alt@ \
|
||||||
@alt@ unset LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL ||:\
|
@alt@ unset LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL ||:\
|
||||||
|
@ -506,6 +506,7 @@ fi
|
|||||||
%changelog
|
%changelog
|
||||||
* Sun Jan 04 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt29
|
* Sun Jan 04 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt29
|
||||||
- brp-cleanup: fixed possible cleanup misses.
|
- brp-cleanup: fixed possible cleanup misses.
|
||||||
|
- brp-cleanup, platform: implemented %%_keep_libtool_files support.
|
||||||
- verify-elf: verify SUID/SGID ELF objects as well.
|
- verify-elf: verify SUID/SGID ELF objects as well.
|
||||||
- fixup-libraries: fix SUID/SGID libraries as well.
|
- fixup-libraries: fix SUID/SGID libraries as well.
|
||||||
- find-lang: implemented --with-kde option (aris@, #2666).
|
- find-lang: implemented --with-kde option (aris@, #2666).
|
||||||
|
@ -63,11 +63,13 @@ find .$RPM_CLEANUP_TOPDIR -type f \( \
|
|||||||
find .$RPM_CLEANUP_TOPDIR -type d -name CVS -print0 |
|
find .$RPM_CLEANUP_TOPDIR -type d -name CVS -print0 |
|
||||||
xargs -r0 rm -vrf --
|
xargs -r0 rm -vrf --
|
||||||
|
|
||||||
for d in ./lib ./usr/lib ./usr/X11R6/lib; do
|
if [ -z "$RPM_KEEP_LIBTOOL_FILES" ]; then
|
||||||
[ -d "$d" ] || continue
|
for d in ./lib ./usr/lib ./usr/X11R6/lib; do
|
||||||
find "$d" -type f -mindepth 1 -maxdepth 1 -name 'lib*.la' -print0 |
|
[ -d "$d" ] || continue
|
||||||
xargs -r0 rm -fv --
|
find "$d" -type f -mindepth 1 -maxdepth 1 -name 'lib*.la' -print0 |
|
||||||
done
|
xargs -r0 rm -fv --
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -d ./etc/pam.d ]; then
|
if [ -d ./etc/pam.d ]; then
|
||||||
find ./etc/pam.d -type f -mindepth 1 -maxdepth 1 -print0 |
|
find ./etc/pam.d -type f -mindepth 1 -maxdepth 1 -print0 |
|
||||||
|
Loading…
Reference in New Issue
Block a user