1
0

Accepting request 1076021 from devel:languages:haskell

update for ghc-9.4.4

OBS-URL: https://build.opensuse.org/request/show/1076021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-rpm-macros?expand=0&rev=43
This commit is contained in:
Dominique Leuenberger 2023-04-04 19:22:51 +00:00 committed by Git OBS Bridge
commit 8983875d32
4 changed files with 22 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9c7303329dee9f08f8809e795f9ca293b2c9fff2eb65aa7170b6c79261a67d18
size 17044

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:706ef0a8f12a778a637fd86faef52224c89f60674fb86764d0e8aa4a6835caeb
size 30852

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Mar 18 18:33:27 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 2.5.2
* fix ghc-pkg-wrapper in ghc build env
* ghc_merge_filelist macro
-------------------------------------------------------------------
Thu Mar 16 18:26:11 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 2.5.0
* sync with fedora
* enable -prof packages
* support for hadrian
-------------------------------------------------------------------
Mon Nov 1 05:59:41 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -18,7 +18,7 @@
%global without_hscolour 1
Name: ghc-rpm-macros
Version: 1.9.95
Version: 2.5.2
Release: 0
Summary: RPM Macros for building packages for GHC
License: GPL-3.0-or-later
@ -28,6 +28,7 @@ URL: https://fedoraproject.org/wiki/Haskell_SIG
Source0: %{name}-%{version}.tar.xz
BuildRequires: xz
Requires: rpm
Requires: chrpath
BuildArch: noarch
%if %{undefined without_hscolour}
Requires: hscolour
@ -47,14 +48,6 @@ Requires: %{name} = %{version}-%{release}
Extra macros used for subpackaging of Haskell libraries,
for example in ghc and haskell-platform.
%package -n ghc-srpm-macros
Summary: RPM macros for building Haskell source packages
Group: Development/Libraries/Other
BuildArch: noarch
%description -n ghc-srpm-macros
Macros used when generating source Haskell rpm packages.
%prep
%setup -q
@ -69,9 +62,9 @@ install -p -D -m 0755 ghc-deps.sh %{buildroot}/%{_prefix}/lib/rpm/ghc-deps.sh
install -p -D -m 0755 cabal-tweak-dep-ver %{buildroot}/%{_bindir}/cabal-tweak-dep-ver
install -p -D -m 0755 cabal-tweak-drop-dep %{buildroot}/%{_bindir}/cabal-tweak-drop-dep
install -p -D -m 0755 cabal-tweak-flag %{buildroot}/%{_bindir}/cabal-tweak-flag
install -p -D -m 0755 cabal-tweak-remove-upperbound %{buildroot}/%{_bindir}/cabal-tweak-remove-upperbound
install -p -D -m 0755 ghc-pkg-wrapper %{buildroot}/%{_prefix}/lib/rpm/ghc-pkg-wrapper
install -p -D -m 0644 ghc.attr %{buildroot}/%{_prefix}/lib/rpm/fileattrs/ghc.attr
install -p -D -m 0755 ghc-dirs.sh %{buildroot}/%{_prefix}/lib/rpm/ghc-dirs.sh
install -p -D -m 0644 Setup.hs %{buildroot}/%{_datadir}/%{name}/Setup.hs
%files
@ -83,9 +76,9 @@ install -p -D -m 0644 Setup.hs %{buildroot}/%{_datadir}/%{name}/Setup.hs
%{_bindir}/cabal-tweak-dep-ver
%{_bindir}/cabal-tweak-flag
%{_bindir}/cabal-tweak-drop-dep
%{_bindir}/cabal-tweak-remove-upperbound
%{_prefix}/lib/rpm/ghc-pkg-wrapper
%{_prefix}/lib/rpm/fileattrs/ghc.attr
%{_prefix}/lib/rpm/ghc-dirs.sh
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/Setup.hs