forked from pool/ocaml-fileutils
Accepting request 264467 from home:mlatimer:td
Update spec file as per recommendations OBS-URL: https://build.opensuse.org/request/show/264467 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-fileutils?expand=0&rev=2
This commit is contained in:
parent
afd024fea3
commit
1d2b19f0e2
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 8 20:41:50 UTC 2014 - mlatimer@suse.com
|
||||||
|
|
||||||
|
- Update spec file to use ocaml-rpm-macros, remove
|
||||||
|
ExclusiveArch, and ensure bytecode is built
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 5 18:02:46 UTC 2014 - mlatimer@suse.com
|
Fri Dec 5 18:02:46 UTC 2014 - mlatimer@suse.com
|
||||||
|
|
||||||
|
@ -16,10 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
|
||||||
|
|
||||||
Name: ocaml-fileutils
|
Name: ocaml-fileutils
|
||||||
Version: 0.4.5
|
Version: 0.4.5
|
||||||
|
%{ocaml_preserve_bytecode}
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: OCaml library for common file and filename operations
|
Summary: OCaml library for common file and filename operations
|
||||||
License: LGPL-2.0 with exceptions
|
License: LGPL-2.0 with exceptions
|
||||||
@ -27,10 +26,10 @@ Group: Development/Libraries/Other
|
|||||||
Url: https://forge.ocamlcore.org/projects/ocaml-fileutils/
|
Url: https://forge.ocamlcore.org/projects/ocaml-fileutils/
|
||||||
Source0: https://forge.ocamlcore.org/frs/download.php/1194/ocaml-fileutils-%{version}.tar.gz
|
Source0: https://forge.ocamlcore.org/frs/download.php/1194/ocaml-fileutils-%{version}.tar.gz
|
||||||
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
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
ExcludeArch: sparc64 s390 s390x
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library is intended to provide a basic interface to the most
|
This library is intended to provide a basic interface to the most
|
||||||
@ -79,7 +78,7 @@ make %{?_smp_mflags} test
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING.txt
|
%doc COPYING.txt
|
||||||
%{_libdir}/ocaml/fileutils
|
%{_libdir}/ocaml/fileutils
|
||||||
%if %{opt}
|
%if %{ocaml_native_compiler}
|
||||||
%exclude %{_libdir}/ocaml/fileutils/*.a
|
%exclude %{_libdir}/ocaml/fileutils/*.a
|
||||||
%exclude %{_libdir}/ocaml/fileutils/*.cmx
|
%exclude %{_libdir}/ocaml/fileutils/*.cmx
|
||||||
%exclude %{_libdir}/ocaml/fileutils/*.cmxa
|
%exclude %{_libdir}/ocaml/fileutils/*.cmxa
|
||||||
@ -90,7 +89,7 @@ make %{?_smp_mflags} test
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING.txt AUTHORS.txt CHANGELOG.txt README.txt TODO.txt
|
%doc COPYING.txt AUTHORS.txt CHANGELOG.txt README.txt TODO.txt
|
||||||
%if %{opt}
|
%if %{ocaml_native_compiler}
|
||||||
%{_libdir}/ocaml/fileutils/*.a
|
%{_libdir}/ocaml/fileutils/*.a
|
||||||
%{_libdir}/ocaml/fileutils/*.cmx
|
%{_libdir}/ocaml/fileutils/*.cmx
|
||||||
%{_libdir}/ocaml/fileutils/*.cmxa
|
%{_libdir}/ocaml/fileutils/*.cmxa
|
||||||
|
Loading…
Reference in New Issue
Block a user