[packages/flex] - up to 2.6.2
arekm
arekm at pld-linux.org
Sun Dec 18 14:58:01 CET 2016
commit fe290eb87342027d7807fb11118cfe9f3b69ea0b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Dec 18 14:57:55 2016 +0100
- up to 2.6.2
flex-build.patch | 10 ++++++++++
flex.spec | 12 +++++++-----
2 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/flex.spec b/flex.spec
index e6b6484..46edd63 100644
--- 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
diff --git a/flex-build.patch b/flex-build.patch
new file mode 100644
index 0000000..7940698
--- /dev/null
+++ b/flex-build.patch
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/flex.git/commitdiff/fe290eb87342027d7807fb11118cfe9f3b69ea0b
More information about the pld-cvs-commit
mailing list