Accepting request 740990 from devel:languages:ocaml
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/740990 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-curses?expand=0&rev=5
This commit is contained in:
commit
2f80616fa4
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 9 05:48:16 UTC 2019 - ohering@suse.de
|
||||||
|
|
||||||
|
- use macros from ocaml-rpm-macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de
|
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ BuildRequires: ncurses-devel
|
|||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
BuildRequires: ocaml-oasis
|
BuildRequires: ocaml-oasis
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
BuildRequires: ocaml-rpm-macros >= 4.03
|
BuildRequires: ocaml-rpm-macros >= 20191009
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -47,9 +47,7 @@ The %{name}-devel package contains libraries and signature files for
|
|||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sed 's/@BOOL_WIDE_CURSES@/true/' config.ml.in | tee config.ml
|
sed 's/@BOOL_WIDE_CURSES@/true/' config.ml.in | tee config.ml
|
||||||
@ -98,43 +96,15 @@ _EOF_
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%ocaml_oasis_findlib_install
|
%ocaml_oasis_findlib_install
|
||||||
#
|
%ocaml_create_file_list
|
||||||
mkdir -vp %{buildroot}/etc/ld.so.conf.d/
|
|
||||||
tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_
|
|
||||||
%{_libdir}/ocaml/curses
|
|
||||||
_EOF_
|
|
||||||
#
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING
|
|
||||||
/etc/ld.so.conf.d/*.conf
|
|
||||||
%dir %{_libdir}/ocaml/*
|
|
||||||
%if 0%{?ocaml_native_compiler}
|
|
||||||
%{_libdir}/ocaml/*/*.cmxs
|
|
||||||
%endif
|
|
||||||
%{_libdir}/ocaml/*/*.so
|
|
||||||
|
|
||||||
%files devel
|
%files devel -f %{name}.files.devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING
|
|
||||||
%{oasis_docdir_html}
|
%{oasis_docdir_html}
|
||||||
%dir %{_libdir}/ocaml/*
|
|
||||||
%{_libdir}/ocaml/*/*.a
|
|
||||||
%if 0%{?ocaml_native_compiler}
|
|
||||||
%{_libdir}/ocaml/*/*.cmx
|
|
||||||
%{_libdir}/ocaml/*/*.cmxa
|
|
||||||
%endif
|
|
||||||
%{_libdir}/ocaml/*/*.annot
|
|
||||||
%{_libdir}/ocaml/*/*.cma
|
|
||||||
%{_libdir}/ocaml/*/*.cmi
|
|
||||||
%{_libdir}/ocaml/*/*.cmt
|
|
||||||
%{_libdir}/ocaml/*/*.cmti
|
|
||||||
%{_libdir}/ocaml/*/*.mli
|
|
||||||
%{_libdir}/ocaml/*/META
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user