1
0

- 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:
2015-05-21 06:41:49 +00:00
committed by Git OBS Bridge
parent 7834703233
commit ac097b56a9
2 changed files with 8 additions and 10 deletions

View File

@@ -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 Sun Apr 26 16:43:29 UTC 2015 - mimi.vx@gmail.com

View File

@@ -15,17 +15,18 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%global pkg_name distributive %global pkg_name distributive
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-distributive
Version: 0.4.4 Version: 0.4.4
Release: 0 Release: 0
Summary: Distributive functors -- Dual to Traversable Summary: Distributive functors -- Dual to Traversable
License: BSD-2-Clause
Group: System/Libraries Group: System/Libraries
License: BSD-3-Clause
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -62,37 +63,29 @@ This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
%build %build
%ghc_lib_build %ghc_lib_build
%install %install
%ghc_lib_install %ghc_lib_install
%check %check
%if %{with tests} %if %{with tests}
%cabal test %cabal test
%endif %endif
%post devel %post devel
%ghc_pkg_recache %ghc_pkg_recache
%postun devel %postun devel
%ghc_pkg_recache %ghc_pkg_recache
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE %doc LICENSE
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README.markdown %doc README.markdown
%changelog %changelog