Wrap specfile conditionals to fix quilt setup

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-calendar?expand=0&rev=13
This commit is contained in:
Olaf Hering 2017-07-17 12:39:48 +00:00 committed by Git OBS Bridge
parent 19ddcdabe4
commit 7ca356ecc4
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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 Mon Jul 17 10:48:58 UTC 2017 - ohering@suse.de

View File

@ -24,7 +24,9 @@
Name: ocaml-calendar Name: ocaml-calendar
Version: 2.04 Version: 2.04
Release: 0 Release: 0
%if %{defined ocaml_preserve_bytecode}
%{ocaml_preserve_bytecode} %{ocaml_preserve_bytecode}
%endif
Summary: Objective Caml library for managing dates and times Summary: Objective Caml library for managing dates and times
License: LGPL-2.0 License: LGPL-2.0
Group: Development/Libraries/Other Group: Development/Libraries/Other
@ -75,7 +77,7 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
%doc CHANGES README TODO LGPL COPYING %doc CHANGES README TODO LGPL COPYING
%dir %{_libdir}/ocaml %dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/* %dir %{_libdir}/ocaml/*
%if %{ocaml_native_compiler} %if %{defined ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs %{_libdir}/ocaml/*/*.cmxs
%endif %endif
@ -84,7 +86,7 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
%doc CHANGES README TODO LGPL COPYING doc/* %doc CHANGES README TODO LGPL COPYING doc/*
%dir %{_libdir}/ocaml %dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/* %dir %{_libdir}/ocaml/*
%if %{ocaml_native_compiler} %if %{defined ocaml_native_compiler}
%{_libdir}/ocaml/*/*.a %{_libdir}/ocaml/*/*.a
%{_libdir}/ocaml/*/*.cmx %{_libdir}/ocaml/*/*.cmx
%{_libdir}/ocaml/*/*.cmxa %{_libdir}/ocaml/*/*.cmxa