1
0

- correct licence to BSD-2-Clause

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-file-embed?expand=0&rev=2
This commit is contained in:
Ondřej Súkup 2015-11-23 09:56:59 +00:00 committed by Git OBS Bridge
parent 97010b024c
commit a36a4538c1
2 changed files with 7 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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

@ -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
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