packages: rpm-build-macros/rpm-build-macros.spec, rpm-build-macros/rpm.macr...
glen
glen at pld-linux.org
Sat Aug 13 12:35:51 CEST 2011
Author: glen Date: Sat Aug 13 10:35:51 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- fix syntax error when bulding with "-debug"
---- Files affected:
packages/rpm-build-macros:
rpm-build-macros.spec (1.296 -> 1.297) , rpm.macros (1.616 -> 1.617)
---- Diffs:
================================================================
Index: packages/rpm-build-macros/rpm-build-macros.spec
diff -u packages/rpm-build-macros/rpm-build-macros.spec:1.296 packages/rpm-build-macros/rpm-build-macros.spec:1.297
--- packages/rpm-build-macros/rpm-build-macros.spec:1.296 Sun Aug 7 12:38:43 2011
+++ packages/rpm-build-macros/rpm-build-macros.spec Sat Aug 13 12:35:46 2011
@@ -1,5 +1,5 @@
# $Revision$, $Date$
-%define rpm_macros_rev 1.616
+%define rpm_macros_rev 1.617
%define find_lang_rev 1.34
Summary: PLD Linux RPM build macros
Summary(pl.UTF-8): Makra do budowania pakietów RPM dla Linuksa PLD
@@ -92,6 +92,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.297 2011/08/13 10:35:46 glen
+- fix syntax error when bulding with "-debug"
+
Revision 1.296 2011/08/07 10:38:43 glen
- 1.615: mksh-40b-1 (/bin/sh on carme) seems to keep set -x, which previously was reset to set +x, and that is is too noisy, so set +x when not in -debug build
================================================================
Index: packages/rpm-build-macros/rpm.macros
diff -u packages/rpm-build-macros/rpm.macros:1.616 packages/rpm-build-macros/rpm.macros:1.617
--- packages/rpm-build-macros/rpm.macros:1.616 Sun Aug 7 12:38:43 2011
+++ packages/rpm-build-macros/rpm.macros Sat Aug 13 12:35:46 2011
@@ -503,7 +503,7 @@
#%no_install_post_compress_docs 1
%__spec_install_post_compress_docs { \
%{!?no_install_post_compress_docs:__spec_install_post_compress_docs() { \
- %{!?debug:set +x}; \
+ %{!?debug:set +x;} \
for i in /usr/share/man /usr/X11R6/man; do \
if [ -d "$RPM_BUILD_ROOT$i" ]; then \
echo "Compress man pages: $i"; \
@@ -552,7 +552,7 @@
#
%__spec_install_post_strip {%{!?debug: \
%{!?no_install_post_strip:__spec_install_post_strip() { \
-%{!?debug:set +x}; \
+%{!?debug:set +x;} \
if [ -d "$RPM_BUILD_ROOT" ]; then \
if [ -d $RPM_BUILD_ROOT/lib/modules ]; then \
modulelist=$(find $RPM_BUILD_ROOT/lib/modules -name '*o' -type f -print); \
@@ -623,7 +623,7 @@
#
%__spec_install_post_chrpath {%{!?debug: \
%{!?no_install_post_chrpath: __spec_install_post_chrpath() { \
-%{!?debug:set +x}; \
+%{!?debug:set +x;} \
if [ -d "$RPM_BUILD_ROOT" ]; then \
files=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" ! -regex ".*/usr/lib[0-9]*/debug/.*" ! -regex ".*/lib/modules/.*" ! -regex ".*%{_docdir}/.*" ! -regex ".*%{_includedir}/.*" %{?_noautochrpath:! -regex "%{_noautochrpath}"}`; \
if [ -n "$files" ]; then \
@@ -676,7 +676,7 @@
#
%__spec_install_post_check_so { \
__spec_install_post_check_so() { \
-%{!?debug:set +x}; \
+%{!?debug:set +x;} \
fail=0; \
printf "Searching for shared objects with unresolved symbols..."; \
for f in $(find $RPM_BUILD_ROOT -type f -name '*.so.*' -print); do \
@@ -694,7 +694,7 @@
#%no_install_post_compress_modules 1
%__spec_install_post_compress_modules { \
%{!?no_install_post_compress_modules: __spec_install_post_compress_modules() { \
-%{!?debug:set +x}; \
+%{!?debug:set +x;} \
if [ -d $RPM_BUILD_ROOT/lib/modules ]; then \
q=$(find $RPM_BUILD_ROOT/lib/modules -name '*o' -type f -print); \
if [ "$q" ]; then \
@@ -1007,7 +1007,7 @@
# Hardlink binary identical .pyc and .pyo files
%__spec_install_post_py_hardlink {\
%{!?no_install_post_py_hardlink: __spec_install_post_py_hardlink() { \
-%{!?debug:set +x}; \
+%{!?debug:set +x;} \
local a b c=0 t=0; \
if [ -d "$RPM_BUILD_ROOT" ]; then \
find "$RPM_BUILD_ROOT" -name '*.pyc' > __rpm_pyc; \
@@ -1694,7 +1694,7 @@
%define ModprobeD $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/%{_kernel_ver} \
\
__install_kernel_modules() { \
-%{!?debug:set +x}; \
+%{!?debug:set +x;} \
local cfgs='%{?with_dist_kernel:%{?with_smp: smp}%{?with_up: up}}%{!?with_dist_kernel: nondist}' \
\
for MODULE in {%{-m*},}; do \
@@ -1875,7 +1875,7 @@
%py_lint() \
__py_lint() { \
-%{!?debug:set +x}; \
+%{!?debug:set +x;} \
find "$@" -type f -name '*.py' | python -c ' \
import sys \
import compiler \
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm-build-macros/rpm-build-macros.spec?r1=1.296&r2=1.297&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm-build-macros/rpm.macros?r1=1.616&r2=1.617&f=u
More information about the pld-cvs-commit
mailing list