forked from pool/ghc-distributive
- correct licence to BSD-2-Clause
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-distributive?expand=0&rev=2
This commit is contained in:
parent
7834703233
commit
ac097b56a9
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 21 06:41:23 UTC 2015 - mimi.vx@gmail.com
|
||||
|
||||
- correct licence to BSD-2-Clause
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 26 16:43:29 UTC 2015 - mimi.vx@gmail.com
|
||||
|
||||
|
@ -15,17 +15,18 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global pkg_name distributive
|
||||
|
||||
%bcond_with tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Name: ghc-distributive
|
||||
Version: 0.4.4
|
||||
Release: 0
|
||||
Summary: Distributive functors -- Dual to Traversable
|
||||
License: BSD-2-Clause
|
||||
Group: System/Libraries
|
||||
|
||||
License: BSD-3-Clause
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -62,37 +63,29 @@ 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
|
||||
%if %{with tests}
|
||||
%cabal test
|
||||
%endif
|
||||
|
||||
|
||||
%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 README.markdown
|
||||
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user