]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- added 4.1-branch-po-updates (updates for message changed by 4.1-branch patch)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 24 Nov 2002 19:26:43 +0000 (19:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- link patch - add dependencies to lib*_LIBADD instead of hacking lib*.la
- beecrypt-opt patch - don't override optflags in libbeecrypt on x86
- changes in rpm.macros:
  - more heuristics in %%__gettextize (allow non-external gt 0.11 and external
    gt without po/Makevars)
  - new %%__autopoint macro (=autopoint --force)
- avoid build trap - define __gettextize to not require very fresh rpm to build
- release 5 (beecrypt rel. 2)

Changed files:
    rpm.macros -> 1.94

rpm.macros

index 36d079a72f15fdd2904a7af6bcc7eb5c96e20005..e5b4b7dc0a08898eec175f0857ddc982f2cc18bd 100644 (file)
 %__libtoolize           libtoolize --copy --force
 %__gettextize { \
     if ! gettextize --version | grep -q '0\.10\.' ; then \
-       if [ -f po/Makevars ]; then \
-           gettextize --copy --force --no-changelog; \
-       else \
-           gettextize --copy --force --no-changelog --intl; \
-              cp -f po/Makevars{.template,}; \
-          fi; \
+       if grep -qs 'AM_GNU_GETTEXT.*external' configure.{ac,in} ; then \
+           gettextize --copy --force --no-changelog; \
        else \
-               gettextize --copy --force; \
+           gettextize --copy --force --no-changelog --intl; \
+       fi; \
+       if [ ! -f po/Makevars ]; then \
+           cp -f po/Makevars{.template,}; \
+       fi; \
+    else \
+       gettextize --copy --force; \
     fi; \
-}              
+}
+%__autopoint            autopoint --force
 %__automake             automake -a -c -f --foreign
 %__autoconf             autoconf %{?debug:-Wall}
 
This page took 0.041449 seconds and 4 git commands to generate.