Remove autodeps for pre openSUSE 12.1 releases

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-ounit?expand=0&rev=21
This commit is contained in:
Olaf Hering 2017-07-17 11:03:25 +00:00 committed by Git OBS Bridge
parent b55f05c0ae
commit 5126f7d90c
2 changed files with 6 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
-------------------------------------------------------------------
Mon May 30 06:39:17 UTC 2016 - ohering@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ocaml-ounit
#
# Copyright (c) 2014 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
@ -31,12 +31,6 @@ BuildRequires: ocaml-oasis
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-rpm-macros >= 4.03
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# ocaml autodep start for pkg: ocaml-ounit
# 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-ounit
%description
OUnit is a unit test framework for OCaml. It allows one to easily
@ -45,12 +39,6 @@ framework for Haskell. It is similar to JUnit, and other xUnit testing
frameworks.
%package devel
# ocaml autodep start for pkg: ocaml-ounit-devel
# 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-ounit-devel
Summary: Development files for %{name}
Group: Development/Libraries/Other
Requires: %{name} = %{version}