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
This commit is contained in:
Olaf Hering 2017-07-17 11:02:56 +00:00 committed by Git OBS Bridge
parent de7ae71dd4
commit cd21b08309
2 changed files with 12 additions and 13 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
-------------------------------------------------------------------
Tue May 24 12:01:41 UTC 2016 - olaf@aepfle.de

View File

@ -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