Remove autodeps for pre openSUSE 12.1 releases

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-pcre?expand=0&rev=39
This commit is contained in:
Olaf Hering 2017-07-17 11:03:31 +00:00 committed by Git OBS Bridge
parent b9a9034e37
commit 5547331c56
2 changed files with 8 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 17 10:48:58 UTC 2017 - ohering@suse.de
- Remove autodeps for pre openSUSE 12.1 releases
-------------------------------------------------------------------
Mon May 23 20:02:46 UTC 2016 - ohering@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ocaml-pcre
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Andrew Psaltis <ampsaltis at gmail.com>
#
# All modifications and additions to the file contributed by third parties
@ -19,8 +19,8 @@
Name: ocaml-pcre
Version: 7.2.3
%{ocaml_preserve_bytecode}
Release: 0
%{ocaml_preserve_bytecode}
Summary: Perl compatibility regular expressions (PCRE) for OCaml
License: LGPL-2.0
Group: Development/Libraries/Other
@ -30,20 +30,14 @@ Url: http://mmottl.github.io/pcre-ocaml/
Source0: pcre-ocaml-%{version}.tar.xz
Patch0: ocaml-pcre-warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# ocaml autodep start for pkg: ocaml-pcre
# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires
%if 0%{?suse_version} < 1210
Requires: ocaml-runtime
%endif
# ocaml autodep end for pkg: ocaml-pcre
BuildRequires: gawk
BuildRequires: ocaml >= 3.10.2
BuildRequires: ocaml-oasis
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-rpm-macros >= 4.03
BuildRequires: ocamlfind(bytes)
BuildRequires: pcre-devel
BuildRequires: ocamlfind(bytes)
%description
Perl compatibile regular expressions (PCRE) for OCaml.