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 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/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%global pkg_name file-embed %global pkg_name file-embed
%bcond_without tests %bcond_without tests
@ -23,9 +24,9 @@ Name: ghc-file-embed
Version: 0.0.9 Version: 0.0.9
Release: 0 Release: 0
Summary: Use Template Haskell to embed file contents directly Summary: Use Template Haskell to embed file contents directly
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.md %doc README.md
%changelog %changelog