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
|
Release: 0
|
||||||
Summary: Alex is a tool for generating lexical analysers in Haskell
|
Summary: Alex is a tool for generating lexical analysers in Haskell
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Libraries
|
Group: Development/Languages/Other
|
||||||
Url: https://hackage.haskell.org/package/%{name}
|
Url: https://hackage.haskell.org/package/%{name}
|
||||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
@ -46,24 +46,21 @@ lex or flex for C/C++.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_bin_build
|
%ghc_bin_build
|
||||||
|
|
||||||
cd doc
|
cd doc
|
||||||
test -f configure || autoreconf
|
test -f configure || autoreconf
|
||||||
|
# FIXME: you should use the %%configure macro
|
||||||
./configure
|
./configure
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_bin_install
|
%ghc_bin_install
|
||||||
|
|
||||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||||
cp doc/alex.1 %{buildroot}/%{_mandir}/man1
|
cp doc/alex.1 %{buildroot}/%{_mandir}/man1
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%cabal_test
|
%cabal_test
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user