From 4be9f17d9cd1ffb46be47fb032eba5a386423bb1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: May 10 2019 10:03:08 +0000 Subject: deprecate as metapackage --- diff --git a/ghc-conduit-combinators.spec b/ghc-conduit-combinators.spec index 6f3b541..5c26b78 100644 --- a/ghc-conduit-combinators.spec +++ b/ghc-conduit-combinators.spec @@ -1,22 +1,24 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.13.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name conduit-combinators %global pkgver %{pkg_name}-%{version} -%bcond_with tests - Name: ghc-%{pkg_name} Version: 1.3.0 -Release: 2%{?dist} -Summary: Commonly used conduit functions, for both chunked and unchunked data +Release: 3%{?dist} +Summary: DEPRECATED Functionality merged into the conduit package itself License: MIT Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +# End cabal-rpm deps %description See docs and README at . @@ -37,19 +39,24 @@ files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} +# End cabal-rpm setup +cabal-tweak-drop-dep base +sed -i -e "/Paths_conduit_combinators/d" %{pkg_name}.cabal %build -%ghc_lib_build +# Begin cabal-rpm build: +%ghc_lib_build_without_haddock +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_lib_install - - -%check -%cabal_test +mv %{buildroot}%{_ghcdocdir}{,-devel} +# End cabal-rpm install %post devel @@ -60,15 +67,15 @@ files. %ghc_pkg_recache -%files -f %{name}.files -%license LICENSE - - %files devel -f %{name}-devel.files +%license LICENSE %doc ChangeLog.md README.md %changelog +* Fri May 10 2019 fedora-toolbox - 1.3.0-3 +- deprecated meta-package + * Thu Jan 31 2019 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild