New upstream version 0.5.

This commit is contained in:
Richard W.M. Jones 2012-06-11 14:15:45 +01:00
parent 026fa506be
commit 41e64ed87f
3 changed files with 17 additions and 17 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
ocaml-augeas-0.4.tar.gz
/ocaml-augeas-0.5.tar.gz

View File

@ -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 <rjones@redhat.com> - 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 <rjones@redhat.com> - 0.4-11
- Rebuild for OCaml 4.00.0.

View File

@ -1 +1 @@
c18c3c794e945336acda222046f8416b ocaml-augeas-0.4.tar.gz
900bf68677eba3bec1972b3ed2e8ad94 ocaml-augeas-0.5.tar.gz