]> git.pld-linux.org Git - packages/flex.git/commitdiff
- up to 2.6.2 auto/th/flex-2.6.2-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 18 Dec 2016 13:57:55 +0000 (14:57 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 18 Dec 2016 13:57:55 +0000 (14:57 +0100)
flex-build.patch [new file with mode: 0644]
flex.spec

diff --git a/flex-build.patch b/flex-build.patch
new file mode 100644 (file)
index 0000000..7940698
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/configure.ac~    2016-10-25 00:29:36.000000000 +0200
++++ b/configure.ac     2016-12-18 14:55:43.302082497 +0100
+@@ -151,7 +151,6 @@ examples/Makefile
+ examples/fastwc/Makefile
+ examples/manual/Makefile
+ lib/Makefile
+-po/Makefile.in
+ src/Makefile
+ tools/Makefile
+ tests/Makefile
index e6b6484ab38b163cec93abbc8ca2663a80f60108..46edd63c21b4b768fc7f2a7e6b7b753dfd8555ca 100644 (file)
--- a/flex.spec
+++ b/flex.spec
@@ -16,12 +16,12 @@ Summary(ru.UTF-8):  Быстрый генератор лексических ан
 Summary(tr.UTF-8):     GNU sözdizim çözümleyici
 Summary(uk.UTF-8):     Швидкий генератор лексичних аналізаторів GNU
 Name:          flex
-Version:       2.6.0
+Version:       2.6.2
 Release:       1
 License:       BSD-like
 Group:         Development/Tools
-Source0:       http://downloads.sourceforge.net/flex/%{name}-%{version}.tar.xz
-# Source0-md5: 3cbbfa1554d0b75fad9f8100732454de
+Source0:       https://github.com/westes/flex/archive/v%{version}.tar.gz
+# Source0-md5: acde3a89ef2b376aac94586fd5fda460
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: fd79ee2834b290e74c626f0bbfc8942f
 Patch0:                %{name}-info.patch
@@ -29,6 +29,7 @@ Patch1:               %{name}-pic.patch
 # patch #869230 (second version of bug #720983 fix - from flex BTS)
 # outdated as for 2.5.34+, but contains testcase
 Patch2:                %{name}-m4-quotes.diff
+Patch3:                %{name}-build.patch
 URL:           http://flex.sourceforge.net/
 BuildRequires: autoconf >= 2.54
 BuildRequires: automake >= 1:1.14.1
@@ -140,9 +141,10 @@ Przykłady dla fleksa.
 %patch0 -p1
 %patch1 -p1
 #%patch2 -p1
+%patch3 -p1
 
 # force regeneration (just in case make didn't want to)
-%{__rm} src/skel.c
+%{__rm} -f src/skel.c
 
 %build
 %{__gettextize}
@@ -192,7 +194,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO doc/flex.pdf
+%doc AUTHORS COPYING NEWS README.md THANKS
 %attr(755,root,root) %{_bindir}/flex
 %attr(755,root,root) %{_bindir}/flex++
 %attr(755,root,root) %{_bindir}/lex
This page took 0.086611 seconds and 4 git commands to generate.