[ocaml-mikmatch] Add META patch to drop tophide dependency
Michael Ekstrand
ekstrand at fedoraproject.org
Wed Jun 8 01:46:05 UTC 2011
commit 06a246d8188bb417904d54c2865aa4757c2e8e2c
Author: Michael Ekstrand <michael at elehack.net>
Date: Tue Jun 7 20:31:05 2011 -0500
Add META patch to drop tophide dependency
mikmatch-fix-META.patch | 13 +++++++++++++
ocaml-mikmatch.spec | 9 +++++++--
2 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/mikmatch-fix-META.patch b/mikmatch-fix-META.patch
new file mode 100644
index 0000000..b592732
--- /dev/null
+++ b/mikmatch-fix-META.patch
@@ -0,0 +1,13 @@
+Index: mikmatch-1.0.3/pcre/META.template
+===================================================================
+--- mikmatch-1.0.3.orig/pcre/META.template
++++ mikmatch-1.0.3/pcre/META.template
+@@ -2,7 +2,7 @@ name = "mikmatch_pcre"
+ version = "VERSION"
+ description = "Pattern matching extended with regexps in Ocamllex syntax"
+
+-requires = "camlp4 pcre unix tophide"
++requires = "camlp4 pcre unix"
+ archive(syntax,toploop) = "pa_mikmatch_pcre.cma run_mikmatch_pcre.cma"
+ archive(syntax,create_toploop) = "pa_mikmatch_pcre.cma run_mikmatch_pcre.cma"
+ archive(syntax,preprocessor) = "pa_mikmatch_pcre.cma"
diff --git a/ocaml-mikmatch.spec b/ocaml-mikmatch.spec
index b26d238..ff1a771 100644
--- a/ocaml-mikmatch.spec
+++ b/ocaml-mikmatch.spec
@@ -3,7 +3,7 @@
Name: ocaml-mikmatch
Version: 1.0.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: OCaml extension for pattern matching with regexps
Group: Development/Libraries
@@ -13,6 +13,8 @@ Source0: http://martin.jambon.free.fr/mikmatch-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: sparc64 s390 s390x
+Patch0: mikmatch-fix-META.patch
+
BuildRequires: ocaml >= 3.12.0
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-ocamldoc
@@ -52,7 +54,7 @@ developing applications that use %{name}.
%prep
%setup -q -n mikmatch-%{version}
-
+%patch0 -p1 -b .fix-META
%build
make all str pcre
@@ -106,6 +108,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Jun 7 2011 Michael Ekstrand <michael at elehack.net> - 1.0.3-3
+- Patch META file to drop tophide dependency (RHBZ#603249)
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list