Remove autodeps for pre openSUSE 12.1 releases
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-calendar?expand=0&rev=12
This commit is contained in:
parent
a5f08097ef
commit
19ddcdabe4
@ -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
|
Mon May 30 06:39:17 UTC 2016 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ocaml-calendar
|
# spec file for package ocaml-calendar
|
||||||
#
|
#
|
||||||
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -34,16 +34,10 @@ Patch1: calendar-2.04-enable-debug.patch
|
|||||||
Patch2: ocaml-calendar-buildcompare.patch
|
Patch2: ocaml-calendar-buildcompare.patch
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
BuildRequires: ocaml >= 4.00.1
|
BuildRequires: ocaml >= 4.00.1
|
||||||
BuildRequires: ocaml-rpm-macros >= 4.02.1
|
|
||||||
BuildRequires: ocaml-findlib-devel >= 1.3.3-3
|
BuildRequires: ocaml-findlib-devel >= 1.3.3-3
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
|
BuildRequires: ocaml-rpm-macros >= 4.02.1
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# ocaml autodep start for pkg: ocaml-calendar
|
|
||||||
# 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-calendar
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Objective Caml library for managing dates and times.
|
Objective Caml library for managing dates and times.
|
||||||
@ -62,7 +56,6 @@ developing applications that use %{name}.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --libdir=%{_libdir}
|
./configure --libdir=%{_libdir}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -71,14 +64,12 @@ make %{?_smp_mflags} doc
|
|||||||
mv TODO TODO.old
|
mv TODO TODO.old
|
||||||
iconv -f iso-8859-1 -t utf-8 < TODO.old > TODO
|
iconv -f iso-8859-1 -t utf-8 < TODO.old > TODO
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export DESTDIR=%{buildroot}
|
export DESTDIR=%{buildroot}
|
||||||
export OCAMLFIND_DESTDIR=%{buildroot}%{_libdir}/ocaml
|
export OCAMLFIND_DESTDIR=%{buildroot}%{_libdir}/ocaml
|
||||||
mkdir -p $OCAMLFIND_DESTDIR
|
mkdir -p $OCAMLFIND_DESTDIR
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc CHANGES README TODO LGPL COPYING
|
%doc CHANGES README TODO LGPL COPYING
|
||||||
@ -106,4 +97,3 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|||||||
%{_libdir}/ocaml/*/META
|
%{_libdir}/ocaml/*/META
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user