Explorar el Código

cleanup and fix packaging

Ralf S. Engelschall hace 20 años
padre
commit
61fc6ca1eb
Se han modificado 1 ficheros con 5 adiciones y 6 borrados
  1. 5 6
      snownews/snownews.spec

+ 5 - 6
snownews/snownews.spec

@@ -33,7 +33,7 @@ Class:        EVAL
 Group:        Network
 License:      GPL
 Version:      1.5.7
-Release:      20050605
+Release:      20051006
 
 #   list of sources
 Source0:      http://kiza.kcore.de/software/snownews/download/snownews-%{version}.tar.gz
@@ -42,8 +42,10 @@ Patch0:       snownews.patch
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20040130, ncurses, libxml, make, gcc
-PreReq:       OpenPKG, openpkg >= 20040130, ncurses, libxml
+BuildPreReq:  OpenPKG, openpkg >= 20040130, make, gcc
+PreReq:       OpenPKG, openpkg >= 20040130
+BuildPreReq:  ncurses, libxml, gettext, libiconv
+PreReq:       ncurses, libxml, gettext, libiconv
 AutoReq:      no
 AutoReqProv:  no
 
@@ -77,9 +79,6 @@ AutoReqProv:  no
         -e 's;\($(CC)\) \($(LDFLAGS)\) \($(OBJFILES)\);\1 \3 \2;' \
         -e 's;^\([ 	]*cat $(MAN).*\| sed s#PREFIX#\)\$(PREFIX)\(#.*\)$;\1%{l_prefix}\2;' \
         Makefile platform_settings
-    %{l_shtool} subst \
-        -e 's;\((String)\)s;\1;g' \
-        config.h
     %{l_make} %{l_mflags -O}
 
 %install