base-orphans is in fedora now

epel9
Jens Petersen 7 years ago
parent 33d1b10d84
commit 8d788b7ecb

@ -4,28 +4,26 @@
%global pkg_name distributive %global pkg_name distributive
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
%global baseorphans base-orphans-0.5.4
%global cabaldoctest cabal-doctest-1 %global cabaldoctest cabal-doctest-1
%global subpkgs %{baseorphans} %{cabaldoctest} %global subpkgs %{cabaldoctest}
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.5.2 Version: 0.5.2
# can only be reset when all subpkgs bumped # can only be reset when all subpkgs bumped
Release: 3%{?dist} Release: 4%{?dist}
Summary: Distributive functors -- Dual to Traversable Summary: Distributive functors -- Dual to Traversable
License: BSD License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{baseorphans}/%{baseorphans}.tar.gz Source1: https://hackage.haskell.org/package/%{cabaldoctest}/%{cabaldoctest}.tar.gz
Source2: https://hackage.haskell.org/package/%{cabaldoctest}/%{cabaldoctest}.tar.gz
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros-extra BuildRequires: ghc-rpm-macros-extra
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
#BuildRequires: ghc-base-orphans-devel BuildRequires: ghc-base-orphans-devel
#BuildRequires: ghc-cabal-doctest-devel #BuildRequires: ghc-cabal-doctest-devel
BuildRequires: ghc-tagged-devel BuildRequires: ghc-tagged-devel
BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-compat-devel
@ -56,7 +54,6 @@ This package provides the Haskell %{pkg_name} library development files.
%global main_version %{version} %global main_version %{version}
%if %{defined ghclibdir} %if %{defined ghclibdir}
%ghc_lib_subpackage %{baseorphans}
%ghc_lib_subpackage %{cabaldoctest} %ghc_lib_subpackage %{cabaldoctest}
%endif %endif
@ -64,7 +61,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%setup -q -n %{pkgver} -a1 -a2 %setup -q -n %{pkgver} -a1
%build %build
@ -75,7 +72,6 @@ This package provides the Haskell %{pkg_name} library development files.
%install %install
%ghc_libs_install %{subpkgs} %ghc_libs_install %{subpkgs}
%ghc_lib_install %ghc_lib_install
%ghc_fix_rpath %{subpkgs}
%check %check
@ -99,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog %changelog
* Wed Sep 13 2017 Jens Petersen <petersen@redhat.com> - 0.5.2-4
- base-orphans is packaged now
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3 * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

Loading…
Cancel
Save