diff --git a/alex-3.1.7.tar.gz b/alex-3.1.7.tar.gz deleted file mode 100644 index 6f5d35e..0000000 --- a/alex-3.1.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:89a1a13da6ccbeb006488d9574382e891cf7c0567752b330cc8616d748bf28d1 -size 103624 diff --git a/alex-3.2.1.tar.gz b/alex-3.2.1.tar.gz new file mode 100644 index 0000000..e716c2a --- /dev/null +++ b/alex-3.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4e7f7ec729f4fae5a5c778bc48421a90acf65c7278f6970cf123fb3b6230e6c +size 111167 diff --git a/alex.changes b/alex.changes index bdb29a1..234ce38 100644 --- a/alex.changes +++ b/alex.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Feb 12 14:17:48 UTC 2017 - psimons@suse.com + +- Update to version 3.2.1 with cabal2obs. + ------------------------------------------------------------------- Sun Jul 10 17:07:27 UTC 2016 - psimons@suse.com diff --git a/alex.spec b/alex.spec index e952a07..3504ae0 100644 --- a/alex.spec +++ b/alex.spec @@ -1,7 +1,7 @@ # # spec file for package alex # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,15 @@ %bcond_without tests Name: alex -Version: 3.1.7 +Version: 3.2.1 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: ghc-Cabal-devel BuildRequires: autoconf -# Begin cabal-rpm deps: +BuildRequires: ghc-Cabal-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel @@ -37,7 +36,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-process-devel %endif -# End cabal-rpm deps %description Alex is a tool for generating lexical analysers in Haskell. It takes a @@ -48,30 +46,25 @@ 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 -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %files %defattr(-,root,root,-) %doc LICENSE -%doc CHANGELOG.md README TODO doc examples +%doc CHANGELOG.md README.md TODO doc examples %{_bindir}/%{name} %{_datadir}/%{name}-%{version} %{_mandir}/man1/*