Hello community, here is the log from the commit of package alex for openSUSE:Factory checked in at 2016-07-20 09:18:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/alex (Old) and /work/SRC/openSUSE:Factory/.alex.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "alex" Changes: -------- --- /work/SRC/openSUSE:Factory/alex/alex.changes 2016-01-11 19:12:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.alex.new/alex.changes 2016-07-20 09:18:22.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:07:27 UTC 2016 - [email protected] + +- Update to version 3.1.7 revision 0 with cabal2obs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alex.spec ++++++ --- /var/tmp/diff_new_pack.pMXYnO/_old 2016-07-20 09:18:23.000000000 +0200 +++ /var/tmp/diff_new_pack.pMXYnO/_new 2016-07-20 09:18:23.000000000 +0200 @@ -2,7 +2,6 @@ # spec file for package alex # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. -# Copyright (c) 2012 Peter Trommler [email protected] # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,25 +17,27 @@ %bcond_without tests - Name: alex Version: 3.1.7 Release: 0 -Summary: Tool for generating lexical analysers in Haskell +Summary: Alex is a tool for generating lexical analysers in Haskell License: BSD-3-Clause -Group: Development/Languages/Other - -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://hackage.haskell.org/package/%{name} -Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz - -BuildRequires: autoconf +Group: System/Libraries +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-QuickCheck-devel BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-rpm-macros +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 @@ -47,22 +48,31 @@ %prep %setup -q + %build %ghc_bin_build + cd doc test -f configure || autoreconf ./configure %install %ghc_bin_install + mkdir -p %{buildroot}/%{_mandir}/man1 cp doc/alex.1 %{buildroot}/%{_mandir}/man1 +%check +%if %{with tests} +%{cabal} test +%endif + + %files %defattr(-,root,root,-) -%doc LICENSE README TODO CHANGELOG.md -%doc examples -%attr(755,root,root) %{_bindir}/%{name} +%doc LICENSE +%doc CHANGELOG.md README TODO doc examples +%{_bindir}/%{name} %{_datadir}/%{name}-%{version} %{_mandir}/man1/*
