Hello community, here is the log from the commit of package ghc-opensource for openSUSE:Factory checked in at 2017-09-15 22:02:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-opensource (Old) and /work/SRC/openSUSE:Factory/.ghc-opensource.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-opensource" Fri Sep 15 22:02:17 2017 rev:2 rq:525105 version:0.1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-opensource/ghc-opensource.changes 2016-11-15 17:55:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-opensource.new/ghc-opensource.changes 2017-09-15 22:02:18.364637511 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 15:38:38 UTC 2017 - [email protected] + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- Old: ---- 1.cabal New: ---- opensource.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-opensource.spec ++++++ --- /var/tmp/diff_new_pack.1xto6E/_old 2017-09-15 22:02:19.112532127 +0200 +++ /var/tmp/diff_new_pack.1xto6E/_new 2017-09-15 22:02:19.112532127 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-opensource # -# 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 @@ -23,25 +23,22 @@ Release: 0 Summary: Haskell API Wrapper for the Open Source License API License: MIT -Group: System/Libraries -Url: https://hackage.haskell.org/package/%{pkg_name} +Group: Development/Libraries/Haskell +URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-aeson-devel BuildRequires: ghc-http-client-devel BuildRequires: ghc-http-client-tls-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel BuildRequires: ghc-transformers-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-bytestring-devel BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-hunit-devel %endif -# End cabal-rpm deps %description The Open Source API contains metadata regarding OSI Approved Licenses, and @@ -51,7 +48,7 @@ %package devel Summary: Haskell %{pkg_name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -64,20 +61,14 @@ %setup -q -n %{pkg_name}-%{version} cp -p %{SOURCE1} %{pkg_name}.cabal - %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache @@ -86,10 +77,8 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %changelog ++++++ opensource.cabal ++++++ name: opensource version: 0.1.0.0 x-revision: 1 synopsis: Haskell API Wrapper for the Open Source License API description: The Open Source API contains metadata regarding OSI Approved Licenses, and crosswalks that help with using and integrating this information with external sources. This library is designed to interact with that API so that users can simply build applications that are license-aware. homepage: https://api.opensource.org/ license: MIT license-file: LICENSE author: Clint Adams maintainer: Clint Adams <[email protected]> copyright: 2016 Clint Adams category: Network build-type: Simple cabal-version: >=1.10 extra-source-files: tests/data/licenses.json flag transformers_compat default: False description: use transformers-compat to get ExceptT library exposed-modules: Network.Protocol.OpenSource.License build-depends: base >=4.4 && <5 , aeson , http-client , http-client-tls , text default-language: Haskell2010 if flag(transformers_compat) build-depends: transformers > 0.2 , transformers-compat > 0.3 else build-depends: transformers >= 0.4 test-suite tests type: exitcode-stdio-1.0 main-is: tests/suite.hs ghc-options: -Wall build-depends: base >=4.4 && <5 , opensource , aeson , bytestring , http-client , http-client-tls , text , tasty , tasty-hunit default-language: Haskell2010 if flag(transformers_compat) build-depends: transformers > 0.2 , transformers-compat > 0.3 else build-depends: transformers >= 0.4 source-repository head type: git location: https://github.com/OpenSourceOrg/haskell-opensource.git
