From cd21b083090c2e85fb3d35a399865821bc720056e90c84ea9a076e98045295e7 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 17 Jul 2017 11:02:56 +0000 Subject: [PATCH] Remove autodeps for pre openSUSE 12.1 releases OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-menhir?expand=0&rev=10 --- ocaml-menhir.changes | 5 +++++ ocaml-menhir.spec | 20 +++++++------------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/ocaml-menhir.changes b/ocaml-menhir.changes index 3cd6d63..0a1fb25 100644 --- a/ocaml-menhir.changes +++ b/ocaml-menhir.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 17 10:48:58 UTC 2017 - ohering@suse.de + +- Remove autodeps for pre openSUSE 12.1 releases + ------------------------------------------------------------------- Tue May 24 12:01:41 UTC 2016 - olaf@aepfle.de diff --git a/ocaml-menhir.spec b/ocaml-menhir.spec index 24e090e..12181a8 100644 --- a/ocaml-menhir.spec +++ b/ocaml-menhir.spec @@ -1,7 +1,7 @@ # # spec file for package ocaml-menhir # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,27 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: ocaml-menhir Version: 20160504 -%{ocaml_preserve_bytecode} Release: 0 -License: LGPL-2.0 +%{ocaml_preserve_bytecode} Summary: LR(1) parser generator for the OCaml programming language -Url: http://gallium.inria.fr/~fpottier/menhir/ +License: LGPL-2.0 Group: Development/Libraries/Other +Url: http://gallium.inria.fr/~fpottier/menhir/ Source: http://gallium.inria.fr/~fpottier/menhir/menhir-20160504.tar.gz BuildRequires: ocaml +BuildRequires: ocaml-findlib BuildRequires: ocaml-ocamlbuild BuildRequires: ocaml-ocamldoc -BuildRequires: ocaml-findlib BuildRequires: ocaml-rpm-macros >= 4.02.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -# ocaml autodep start for pkg: ocaml-menhir -# 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-menhir %description LR(1) parser generator @@ -81,7 +76,6 @@ make \ -j 1 rm -rfv %{buildroot}/usr/share/doc - %files %defattr(-,root,root) %doc CHANGES LICENSE manual.pdf @@ -108,4 +102,4 @@ rm -rfv %{buildroot}/usr/share/doc %{_libdir}/ocaml/*/*.mli %{_libdir}/ocaml/*/*.ml - +%changelog