Synchronize builds with devel:languages:haskell:lts:7.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=55
This commit is contained in:
parent
6b96972032
commit
5e737b9e85
@ -22,7 +22,7 @@ Version: 3.1.7
|
||||
Release: 0
|
||||
Summary: Alex is a tool for generating lexical analysers in Haskell
|
||||
License: BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
Group: Development/Languages/Other
|
||||
Url: https://hackage.haskell.org/package/%{name}
|
||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: autoconf
|
||||
@ -46,24 +46,21 @@ lex or flex for C/C++.
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%ghc_bin_build
|
||||
|
||||
cd doc
|
||||
test -f configure || autoreconf
|
||||
# FIXME: you should use the %%configure macro
|
||||
./configure
|
||||
|
||||
%install
|
||||
%ghc_bin_install
|
||||
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||
cp doc/alex.1 %{buildroot}/%{_mandir}/man1
|
||||
|
||||
%check
|
||||
%cabal_test
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user