Hello community,

here is the log from the commit of package ghc-units for openSUSE:Factory 
checked in at 2017-05-10 20:46:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-units (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-units.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-units"

Wed May 10 20:46:07 2017 rev:1 rq:480560 version:2.4

Changes:
--------
New Changes file:

--- /dev/null   2017-03-01 00:40:19.279048016 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-units.new/ghc-units.changes 2017-05-10 
20:46:14.759011888 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Thu Sep 15 07:00:20 UTC 2016 - psim...@suse.com
+
+- Update to version 2.4 revision 0 with cabal2obs.
+

New:
----
  ghc-units.changes
  ghc-units.spec
  units-2.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-units.spec ++++++
#
# spec file for package ghc-units
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%global pkg_name units
%bcond_with tests
Name:           ghc-%{pkg_name}
Version:        2.4
Release:        0
Summary:        A domain-specific type system for dimensional analysis
License:        BSD-3-Clause
Group:          Development/Languages/Other
Url:            https://hackage.haskell.org/package/%{pkg_name}
Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-containers-devel
BuildRequires:  ghc-deepseq-devel
BuildRequires:  ghc-lens-devel
BuildRequires:  ghc-linear-devel
BuildRequires:  ghc-mtl-devel
BuildRequires:  ghc-multimap-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-singletons-devel
BuildRequires:  ghc-syb-devel
BuildRequires:  ghc-template-haskell-devel
BuildRequires:  ghc-th-desugar-devel
BuildRequires:  ghc-units-parser-devel
BuildRequires:  ghc-vector-space-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if %{with tests}
BuildRequires:  ghc-HUnit-approx-devel
BuildRequires:  ghc-tasty-devel
BuildRequires:  ghc-tasty-hunit-devel
%endif

%description
The units package provides a mechanism for compile-time dimensional analysis in
Haskell programs. It defines an embedded type system based on units-of-measure.
The units defined are fully extensible, and need not relate to physical
properties. The package supports defining multiple inter-convertible units,
such as Meter and Foot. When extracting a number from a dimensioned quantity,
the desired unit must be specified, and the value is converted into that unit.
If you are looking for specific systems of units (such as SI), please see the
`units-defs` package. The Haddock documentation is insufficient for using the
units package. Please see the README file, available from the package home
page.

%package devel
Summary:        Haskell %{pkg_name} library development files
Group:          Development/Libraries/Other
Requires:       %{name} = %{version}-%{release}
Requires:       ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}

%description devel
This package provides the Haskell %{pkg_name} library development files.

%prep
%setup -q -n %{pkg_name}-%{version}

%build
%ghc_lib_build

%install
%ghc_lib_install

%check
%cabal_test

%post devel
%ghc_pkg_recache

%postun devel
%ghc_pkg_recache

%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE

%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc CHANGES.md README.md

%changelog

Reply via email to