[packages/alex] - up to 3.2.5
baggins
baggins at pld-linux.org
Sat May 23 13:48:30 CEST 2020
commit cd997ad9317cabd300fd8abcbb35729d44543e62
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat May 23 13:48:13 2020 +0200
- up to 3.2.5
alex.spec | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/alex.spec b/alex.spec
index c3d486e..10f5aac 100644
--- a/alex.spec
+++ b/alex.spec
@@ -5,19 +5,18 @@
Summary: A lexical analyser generator for Haskell
Summary(pl.UTF-8): Generator analizatorów składniowych dla Haskella
Name: alex
-Version: 3.1.3
-Release: 2
+Version: 3.2.5
+Release: 1
License: BSD-like w/o adv. clause
Group: Development/Tools
#Source0Download: http://hackage.haskell.org/package/alex
Source0: http://hackage.haskell.org/package/alex-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 525e570cb0e84fd856f9c53605ec9e98
+# Source0-md5: ed318478389e9538c8356056ddebbea8
URL: http://www.haskell.org/alex/
BuildRequires: autoconf >= 2.50
BuildRequires: docbook-dtd42-xml
BuildRequires: docbook-style-xsl
%{!?with_bootstrap:BuildRequires: ghc >= 6.6}
-BuildRequires: ghc-QuickCheck >= 2
BuildRequires: gmp-devel
%{!?with_bootstrap:BuildRequires: happy}
BuildRequires: libxslt-progs
@@ -39,8 +38,8 @@ regularnych. Jest podobne do narzędzi lex lub flex dla C/C++.
%build
%{?with_bootstrap:PATH=$PATH:/usr/local/bin}
-runhaskell Setup.lhs configure --prefix=%{_prefix}
-runhaskell Setup.lhs build
+runhaskell Setup.hs configure --prefix=%{_prefix}
+runhaskell Setup.hs build
cd doc
%{__autoconf}
@@ -51,7 +50,7 @@ cd ..
%install
rm -rf $RPM_BUILD_ROOT
%{?with_bootstrap:PATH=$PATH:/usr/local/bin}
-runhaskell Setup.lhs copy --destdir=$RPM_BUILD_ROOT
+runhaskell Setup.hs copy --destdir=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}
cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -66,7 +65,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc ANNOUNCE README TODO doc/alex
+%doc CHANGELOG.md README.md TODO doc/alex
%attr(755,root,root) %{_bindir}/alex
%{_datadir}/%{name}-%{version}
%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/alex.git/commitdiff/cd997ad9317cabd300fd8abcbb35729d44543e62
More information about the pld-cvs-commit
mailing list