From b36dac5c1d0fed4a5a5ef336ee6772fe12cb5055 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 28 Jan 2017 22:12:09 +0100 Subject: [PATCH] use cabal-tweak-drop-dep for bytestring-builder --- ghc-io-streams.spec | 3 +-- io-streams-bytestring-builder.patch | 18 ------------------ 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 io-streams-bytestring-builder.patch diff --git a/ghc-io-streams.spec b/ghc-io-streams.spec index 2d64e67..8b2f814 100644 --- a/ghc-io-streams.spec +++ b/ghc-io-streams.spec @@ -12,7 +12,6 @@ Summary: Simple, composable, easy-to-use stream I/O License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Patch1: io-streams-bytestring-builder.patch BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -74,7 +73,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -%patch1 -p1 -b .orig +cabal-tweak-drop-dep bytestring-builder %build diff --git a/io-streams-bytestring-builder.patch b/io-streams-bytestring-builder.patch deleted file mode 100644 index cedc31c..0000000 --- a/io-streams-bytestring-builder.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- io-streams-1.3.2.0/io-streams.cabal~ 2015-08-05 06:25:51.000000000 +0900 -+++ io-streams-1.3.2.0/io-streams.cabal 2015-09-29 17:45:42.208861421 +0900 -@@ -120,7 +120,6 @@ - Build-depends: base >= 4 && <5, - attoparsec >= 0.10 && <0.14, - bytestring >= 0.9 && <0.11, -- bytestring-builder >= 0.10 && <0.11, - network >= 2.3 && <2.7, - primitive >= 0.2 && <0.7, - process >= 1.1 && <1.3, -@@ -201,7 +200,6 @@ - Build-depends: base >= 4 && <5, - attoparsec >= 0.10 && <0.14, - bytestring >= 0.9 && <0.11, -- bytestring-builder >= 0.10 && <0.11, - deepseq >= 1.2 && <1.5, - directory >= 1.1 && <2, - filepath >= 1.2 && <2,