[packages/rpm-build-macros] - moved comment to avoid shell quirks

qboosh qboosh at pld-linux.org
Sun Apr 7 15:29:47 CEST 2013


commit 2af0c922bf1348f4f3c5ce2e2d5d9e0da40d84b5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 7 15:29:52 2013 +0200

    - moved comment to avoid shell quirks

 rpm.macros | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rpm.macros b/rpm.macros
index 467f8be..9b42482 100644
--- a/rpm.macros
+++ b/rpm.macros
@@ -535,11 +535,11 @@ Provides: %{1} = %{?epoch:%{epoch}:}%{?version:%{version}}%{?release:-%{release}
 				echo >&2 "Converted ${a#$RPM_BUILD_ROOT} from symlink to man link: $l"; \
 			done; \
 			# verify that .so links point to existing files (not allowed to point to "other package")
+			# TODO: iterate over all man dirs, but in Th there is only one true man dir
 			err=$(grep -rl '^\.so ' "$RPM_BUILD_ROOT$i" | while read doc; do \
 				l=$(cat "$doc"); \
 				l=${l#.so }; \
 				d=$(dirname $doc); \
-				# TODO: iterate over all man dirs, but in Th there\'s only one true man dir \
 				test -e $RPM_BUILD_ROOT$i/$l || test -e $d/$l || echo "  ${doc#$RPM_BUILD_ROOT} points to inexistent manpage: $l"; \
 			done); \
 			test "$err" != "" && { echo >&2 "Man page link errors:"; echo >&2 "$err"; exit 1; }; \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/2af0c922bf1348f4f3c5ce2e2d5d9e0da40d84b5



More information about the pld-cvs-commit mailing list