]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- use just filename when checking man links in same directory auto/th/rpm-build-macros-1.670-6
authorMarcin Krol <hawk@tld-linux.org>
Sun, 4 Aug 2013 14:48:26 +0000 (14:48 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Sun, 4 Aug 2013 14:48:26 +0000 (14:48 +0000)
rpm-build-macros.spec
rpm.macros

index 6868b54b7fbbfb94f8de978e7186cea4ef7bcc60..87e62ffe05bb70fdc321e69cd0c093ba923e2abd 100644 (file)
@@ -11,7 +11,7 @@ Summary:      PLD Linux RPM build macros
 Summary(pl.UTF-8):     Makra do budowania pakietów RPM dla Linuksa PLD
 Name:          rpm-build-macros
 Version:       %{rpm_macros_rev}
-Release:       5
+Release:       6
 License:       GPL
 Group:         Development/Building
 Source0:       rpm.macros
index 8456c980ecf25df4cb6a657de10a498f8e36268c..b27b119071a024cee09f915ddfc6efc796490bbc 100644 (file)
@@ -549,7 +549,7 @@ Provides: %{1} = %{?epoch:%{epoch}:}%{?version:%{version}}%{?release:-%{release}
                                l=$(grep -r '^\.so ' "$doc"); \
                                l=${l#.so }; \
                                d=$(dirname $doc); \
-                               test -e $RPM_BUILD_ROOT$i/$l || test -e $d/$l || echo "  ${doc#$RPM_BUILD_ROOT} points to inexistent manpage: $l"; \
+                               test -e $RPM_BUILD_ROOT$i/$l || test -e $d/$(basename $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; }; \
                        find "$RPM_BUILD_ROOT$i" -type f -size +%{_min_compress_bytes}c -print | xargs -r %{__gzip} -9nf; \
This page took 0.725786 seconds and 4 git commands to generate.