Explorar o código

upgrading package: ragel 1.3.0 -> 1.3.1

Ralf S. Engelschall %!s(int64=23) %!d(string=hai) anos
pai
achega
b383e824dc
Modificáronse 2 ficheiros con 5 adicións e 19 borrados
  1. 0 12
      ragel/ragel.patch
  2. 5 7
      ragel/ragel.spec

+ 0 - 12
ragel/ragel.patch

@@ -1,12 +0,0 @@
-diff -Naur ragel-1.3.0.orig/fsm.cpp ragel-1.3.0/fsm.cpp
---- ragel-1.3.0.orig/fsm.cpp	Thu Sep  5 10:02:44 2002
-+++ ragel-1.3.0/fsm.cpp	Thu Sep  5 10:03:36 2002
-@@ -33,7 +33,7 @@
-  */
- void dumpTransData( ostream &out, Trans *trans )
- {
--	cout << trans->toState->num << " [" << trans->priority << "](";
-+	out << trans->toState->num << " [" << trans->priority << "](";
- 
- 	/* Print the functions, adding in commas in between. */
- 	Trans::TransFuncEl *tfel = trans->transFuncTable.table;

+ 5 - 7
ragel/ragel.spec

@@ -32,17 +32,16 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [EVAL]
 Group:        Compiler
 License:      GPL
-Version:      1.3.0
-Release:      20020905
+Version:      1.3.1
+Release:      20021003
 
 #   list of sources
 Source0:      http://www.essemage.com/ragel/ragel-%{version}.tar.gz
-Patch0:       ragel.patch
 
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, gcc, make
+BuildPreReq:  OpenPKG, openpkg >= 20020206, gcc, make, flex, bison
 PreReq:       OpenPKG, openpkg >= 20020206
 AutoReq:      no
 AutoReqProv:  no
@@ -62,7 +61,6 @@ AutoReqProv:  no
 
 %prep
     %setup -q
-    %patch -p1
 
 %build
     CC="%{l_cc}" \
@@ -77,11 +75,11 @@ AutoReqProv:  no
     rm -rf $RPM_BUILD_ROOT
     %{l_shtool} mkdir -f -p -m 755 \
         $RPM_BUILD_ROOT%{l_prefix}/bin \
-        $RPM_BUILD_ROOT%{l_prefix}/share/ragel
+        $RPM_BUILD_ROOT%{l_prefix}/man/man1
     %{l_shtool} install -c -s -m 755 \
         ragel $RPM_BUILD_ROOT%{l_prefix}/bin/
     %{l_shtool} install -c -m 644 \
-        doc/user.txt $RPM_BUILD_ROOT%{l_prefix}/share/ragel/
+        doc/ragel.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
 
 %files -f files