diff --git a/.gitignore b/.gitignore index fc8930a..3c84291 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ cryptokit-1.3.tar.gz /cryptokit-1.4.tar.gz /cryptokit-1.6.tar.gz +/cryptokit-1.9.tar.gz diff --git a/ocaml-cryptokit.spec b/ocaml-cryptokit.spec index a6bcbbe..1610d53 100644 --- a/ocaml-cryptokit.spec +++ b/ocaml-cryptokit.spec @@ -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 - 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 - 1.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 606bc34..eea9554 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -341a4ca2db7fc7755b08d2e54a6874e1 cryptokit-1.6.tar.gz +4432a426c9d260822f4ff2b0750413de cryptokit-1.9.tar.gz