Parcourir la source

try to remove building of examples and test directory as they are not required and make trouble for make on some platforms

Ralf S. Engelschall il y a 19 ans
Parent
commit
f59c2976e0
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      gettext/gettext.spec

+ 4 - 1
gettext/gettext.spec

@@ -33,7 +33,7 @@ Class:        BASE
 Group:        Charset
 License:      GPL
 Version:      0.15
-Release:      20060924
+Release:      20061003
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz
@@ -81,6 +81,9 @@ AutoReqProv:  no
         -e 's;@BUILDJAVAEXE@;no;g' \
         -e 's;@BUILDCSHARP@;no;g' \
         gettext-tools/src/Makefile.in
+    %{l_shtool} subst \
+        -e 's;^\(SUBDIRS =.*\)tests examples;\1;' \
+        gettext-tools/Makefile.in
     %{l_shtool} subst \
         -e 's;\#if USEJEXE;#ifdef USEJEXE;' \
         gettext-tools/src/read-java.c \