Sfoglia il codice sorgente

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 19 anni fa
parent
commit
f59c2976e0
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  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 \