- correct licence to BSD-2-Clause

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-file-embed?expand=0&rev=5
This commit is contained in:
Ondřej Súkup 2016-01-27 07:59:46 +00:00 committed by Git OBS Bridge
parent a5561882b9
commit c10396f64a
2 changed files with 8 additions and 10 deletions

View File

@ -4,6 +4,11 @@ Fri Jan 22 08:46:18 UTC 2016 - mimi.vx@gmail.com
- update to 0.0.9.1
* embedStringFile
-------------------------------------------------------------------
Mon Nov 23 09:56:34 UTC 2015 - mimi.vx@gmail.com
- correct licence to BSD-2-Clause
-------------------------------------------------------------------
Tue Nov 17 19:28:15 UTC 2015 - mimi.vx@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-file-embed
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global pkg_name file-embed
%bcond_without tests
@ -23,9 +24,9 @@ Name: ghc-file-embed
Version: 0.0.9.1
Release: 0
Summary: Use Template Haskell to embed file contents directly
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.md
%changelog