New upstream version 1.9.
- Rebuild for OCaml 4.01.0. - Enable debuginfo. - Modernize the spec file.
This commit is contained in:
parent
df6aa87f96
commit
5a93109c96
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
cryptokit-1.3.tar.gz
|
||||
/cryptokit-1.4.tar.gz
|
||||
/cryptokit-1.6.tar.gz
|
||||
/cryptokit-1.9.tar.gz
|
||||
|
@ -1,16 +1,14 @@
|
||||
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||
%define debug_package %{nil}
|
||||
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||
|
||||
Name: ocaml-cryptokit
|
||||
Version: 1.6
|
||||
Release: 5%{?dist}
|
||||
Version: 1.9
|
||||
Release: 1%{?dist}
|
||||
Summary: OCaml library of cryptographic and hash functions
|
||||
|
||||
Group: Development/Libraries
|
||||
License: LGPLv2 with exceptions
|
||||
|
||||
URL: http://forge.ocamlcore.org/projects/cryptokit/
|
||||
Source0: https://forge.ocamlcore.org/frs/download.php/891/cryptokit-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Source0: https://forge.ocamlcore.org/frs/download.php/1229/cryptokit-%{version}.tar.gz
|
||||
|
||||
ExcludeArch: sparc64 s390 s390x
|
||||
|
||||
BuildRequires: ocaml
|
||||
@ -19,9 +17,6 @@ BuildRequires: ocaml-findlib-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: chrpath
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
|
||||
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
|
||||
|
||||
%description
|
||||
The Cryptokit library for Objective Caml provides a variety of
|
||||
@ -48,7 +43,6 @@ transformations over character streams.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
|
||||
@ -69,7 +63,6 @@ make ||:
|
||||
make
|
||||
|
||||
chrpath --delete _build/src/dllcryptokit_stubs.so
|
||||
strip _build/src/dllcryptokit_stubs.so
|
||||
|
||||
|
||||
%check
|
||||
@ -78,7 +71,6 @@ make test
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml/stublibs
|
||||
export DESTDIR=$RPM_BUILD_ROOT
|
||||
@ -86,12 +78,7 @@ export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT/%{_libdir}/ocaml
|
||||
make install
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt
|
||||
%{_libdir}/ocaml/cryptokit
|
||||
%if %opt
|
||||
@ -104,7 +91,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.txt LICENSE.txt Changes
|
||||
%if %opt
|
||||
%{_libdir}/ocaml/cryptokit/*.a
|
||||
@ -115,6 +101,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Sep 14 2013 Richard W.M. Jones <rjones@redhat.com> - 1.9-1
|
||||
- New upstream version 1.9.
|
||||
- Rebuild for OCaml 4.01.0.
|
||||
- Enable debuginfo.
|
||||
- Modernize the spec file.
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user