Accepting request 829422 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/829422 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-skylighting?expand=0&rev=18
This commit is contained in:
commit
bf6be1fccf
14
_constraints
Normal file
14
_constraints
Normal file
@ -0,0 +1,14 @@
|
||||
<constraints>
|
||||
<overwrite>
|
||||
<conditions>
|
||||
<arch>ppc64</arch>
|
||||
<arch>ppc64le</arch>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<disk>
|
||||
<size unit="G">6</size>
|
||||
</disk>
|
||||
</hardware>
|
||||
</overwrite>
|
||||
</constraints>
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 19 06:52:08 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
|
||||
|
||||
- Add _constraints with 6GB min disk space for ppc64/ppc64le
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 18 10:46:03 UTC 2020 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Replace %setup -q with the more modern %autosetup macro.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 21 02:00:45 UTC 2020 - psimons@suse.com
|
||||
|
||||
|
@ -24,12 +24,18 @@ Summary: Syntax highlighting library
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-binary-devel
|
||||
BuildRequires: ghc-blaze-html-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-filepath-devel
|
||||
BuildRequires: ghc-pretty-show-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-skylighting-core-devel
|
||||
BuildRequires: ghc-text-devel
|
||||
|
||||
%description
|
||||
Skylighting is a syntax highlighting library with support for over one hundred
|
||||
@ -51,13 +57,15 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
|
||||
%build
|
||||
%define cabal_configure_options -fexecutable
|
||||
%ghc_lib_build
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
%ghc_fix_rpath %{pkg_name}-%{version}
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
@ -67,6 +75,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%files -f %{name}.files
|
||||
%license LICENSE
|
||||
%{_bindir}/%{pkg_name}
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc README.md changelog.md
|
||||
|
Loading…
Reference in New Issue
Block a user