From de97dc24cbe5d7a5e6ee5d0418e3ed9e6361a572 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 29 Jul 2012 12:15:19 +0200 Subject: [PATCH] flex: Update to 2.5.36. Fixes #10198. --- flex/flex.nm | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/flex/flex.nm b/flex/flex.nm index b7eb9735f..fa2578a5b 100644 --- a/flex/flex.nm +++ b/flex/flex.nm @@ -4,8 +4,8 @@ ############################################################################### name = flex -version = 2.5.35 -release = 4 +version = 2.5.36 +release = 1 groups = Development/Tools url = http://flex.sourceforge.net/ @@ -13,19 +13,18 @@ license = BSD summary = A tool for creating scanners (text pattern recognizers). description - The flex program generates scanners. Scanners are programs which can \ - recognize lexical patterns in text. Flex takes pairs of regular \ - expressions and C code as input and generates a C source file as \ - output. The output file is compiled and linked with a library to \ - produce an executable. The executable searches through its input for \ - occurrences of the regular expressions. When a match is found, it \ - executes the corresponding C code. Flex was designed to work with \ - both Yacc and Bison, and is used by many programs as part of their \ + The flex program generates scanners. Scanners are programs which can + recognize lexical patterns in text. Flex takes pairs of regular + expressions and C code as input and generates a C source file as + output. The output file is compiled and linked with a library to + produce an executable. The executable searches through its input for + occurrences of the regular expressions. When a match is found, it + executes the corresponding C code. Flex was designed to work with + both Yacc and Bison, and is used by many programs as part of their build process. end -source_dl = -sources = %{thisapp}.tar.bz2 +source_dl = http://prdownloads.sourceforge.net/flex/ build requires @@ -36,9 +35,9 @@ build keep_libraries = %{libdir}/libfl_pic.a - #test - # make check - #end + test + make check + end install_cmds echo "#!/bin/sh" > %{BUILDROOT}/usr/bin/lex -- 2.39.2