osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-aeson-pretty revision:9, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson-pretty?expand=0&rev=37
This commit is contained in:
Peter Simons 2020-09-04 15:09:58 +00:00 committed by Git OBS Bridge
parent 9669c79bbc
commit 40fef6e52e
2 changed files with 18 additions and 7 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Aug 18 10:43:55 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 16 11:13:41 UTC 2020 - Peter Simons <psimons@suse.com>
- Re-generate file with latest version of spec-cleaner.
-------------------------------------------------------------------
Thu May 7 07:44:47 UTC 2020 - Peter Simons <psimons@suse.com>
- Enable 'lib-only' flag to reduce the required dependencies.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 8 16:13:10 UTC 2019 - Peter Simons <psimons@suse.com> Fri Nov 8 16:13:10 UTC 2019 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-aeson-pretty # spec file for package ghc-aeson-pretty
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,13 +24,10 @@ Summary: JSON pretty-printing library and command-line tool
License: BSD-3-Clause 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
BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel BuildRequires: ghc-aeson-devel
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-base-compat-devel BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-cmdargs-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-scientific-devel BuildRequires: ghc-scientific-devel
BuildRequires: ghc-text-devel BuildRequires: ghc-text-devel
@ -63,14 +60,14 @@ Requires(postun): ghc-compiler = %{ghc_version}
This package provides the Haskell %{pkg_name} library development files. This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %autosetup -n %{pkg_name}-%{version}
%build %build
%define cabal_configure_options -flib-only
%ghc_lib_build %ghc_lib_build
%install %install
%ghc_lib_install %ghc_lib_install
%ghc_fix_rpath %{pkg_name}-%{version}
%post devel %post devel
%ghc_pkg_recache %ghc_pkg_recache
@ -80,7 +77,6 @@ This package provides the Haskell %{pkg_name} library development files.
%files -f %{name}.files %files -f %{name}.files
%license LICENSE %license LICENSE
%{_bindir}/%{pkg_name}
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%doc README.markdown %doc README.markdown