diff --git a/.gitignore b/.gitignore index aeea4ef..920b22e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ ocaml-augeas-0.4.tar.gz +/ocaml-augeas-0.5.tar.gz diff --git a/ocaml-augeas.spec b/ocaml-augeas.spec index 211387e..c9f3f11 100644 --- a/ocaml-augeas.spec +++ b/ocaml-augeas.spec @@ -2,15 +2,15 @@ %define debug_package %{nil} Name: ocaml-augeas -Version: 0.4 -Release: 11%{?dist} +Version: 0.5 +Release: 1%{?dist} Summary: OCaml bindings for Augeas configuration API Group: Development/Libraries License: LGPLv2+ with exceptions -URL: http://et.redhat.com/~rjones/augeas/files/ -Source0: http://et.redhat.com/~rjones/augeas/files/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +URL: http://people.redhat.com/~rjones/augeas/files/ +Source0: http://people.redhat.com/~rjones/augeas/files/%{name}-%{version}.tar.gz + ExcludeArch: sparc64 s390 s390x BuildRequires: ocaml >= 3.09.0 @@ -19,10 +19,6 @@ BuildRequires: ocaml-ocamldoc BuildRequires: augeas-devel >= 0.1.0 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 Augeas is a unified system for editing arbitrary configuration @@ -50,8 +46,11 @@ make make doc +%check +make check + + %install -rm -rf $RPM_BUILD_ROOT export DESTDIR=$RPM_BUILD_ROOT export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs @@ -65,12 +64,7 @@ strip $OCAMLFIND_DESTDIR/stublibs/dll*.so chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %doc COPYING.LIB %{_libdir}/ocaml/augeas %if %opt @@ -84,7 +78,6 @@ rm -rf $RPM_BUILD_ROOT %files devel -%defattr(-,root,root,-) %doc html %if %opt %{_libdir}/ocaml/augeas/*.a @@ -95,6 +88,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Jun 11 2012 Richard W.M. Jones - 0.5-1 +- New upstream version 0.5. +- Update URLs. +- Add check section. +- Bring spec file up to modern standards. + * Mon Jun 11 2012 Richard W.M. Jones - 0.4-11 - Rebuild for OCaml 4.00.0. diff --git a/sources b/sources index 80dbbc6..6ef7a65 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c18c3c794e945336acda222046f8416b ocaml-augeas-0.4.tar.gz +900bf68677eba3bec1972b3ed2e8ad94 ocaml-augeas-0.5.tar.gz