Accepting request 512537 from devel:languages:ocaml
- Use Group: Development/Languages/OCaml - Wrap specfile conditionals to fix quilt setup - Remove autodeps for pre openSUSE 12.1 releases OBS-URL: https://build.opensuse.org/request/show/512537 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-ounit?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de
|
||||
|
||||
- Use Group: Development/Languages/OCaml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de
|
||||
|
||||
- Wrap specfile conditionals to fix quilt setup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@@ -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
|
||||
@@ -19,10 +19,10 @@
|
||||
Name: ocaml-ounit
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
%{ocaml_preserve_bytecode}
|
||||
%{?ocaml_preserve_bytecode}
|
||||
Summary: Ocaml OUnit test framework
|
||||
License: MIT
|
||||
Group: Development/Libraries/Other
|
||||
Group: Development/Languages/OCaml
|
||||
Url: http://ounit.forge.ocamlcore.org/
|
||||
Source0: ounit-%{version}.tar.gz
|
||||
Patch0: ounit-strict-formats.diff
|
||||
@@ -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,14 +39,8 @@ 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
|
||||
Group: Development/Languages/OCaml
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
@@ -76,7 +64,7 @@ Development files needed for application based on %{name}.
|
||||
%doc LICENSE.txt
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/*
|
||||
%if %{ocaml_native_compiler}
|
||||
%if 0%{?ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/*/*.cmxs
|
||||
%endif
|
||||
|
||||
@@ -85,7 +73,7 @@ Development files needed for application based on %{name}.
|
||||
%{oasis_docdir_html}
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/*
|
||||
%if %{ocaml_native_compiler}
|
||||
%if 0%{?ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/*/*.a
|
||||
%{_libdir}/ocaml/*/*.cmx
|
||||
%{_libdir}/ocaml/*/*.cmxa
|
||||
|
Reference in New Issue
Block a user