]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.macros
- rebuild with updated rpm.macros
[packages/rpm.git] / rpm.macros
index 6876503c0fde12d5a089c40716c02c183d36dea6..d3d403efc8d51f94f42328b9a9fc0411befb9f76 100644 (file)
 #
 %__libtoolize           libtoolize --copy --force
 %__gettextize { \
-    if [ -f po/Makevars ]; then \
-        gettextize --copy --force; \
-    elif gettextize --version | grep -q '0\.11\.' ; then \
-        gettextize --copy --force  --intl; \
-           cp -f po/Makevars{.template,}; \
+    if ! gettextize --version | grep -q '0\.10\.' ; then \
+       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}
 
@@ -240,7 +245,7 @@ echo "Compress kernel modules if any."; \
 #
 %gconf_schema_install { \
     GCONF_CONFIG_SOURCE="" \
-    %{_bindir}/gconftool-2 --makefile-install-rule \
+    /usr/X11R6/bin/gconftool-2 --makefile-install-rule \
     /etc/X11/GNOME2/gconf/schemas/*.schemas > /dev/null \
 }
 
This page took 0.163436 seconds and 4 git commands to generate.