New upstream version 0.5.
This commit is contained in:
parent
026fa506be
commit
41e64ed87f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
ocaml-augeas-0.4.tar.gz
|
ocaml-augeas-0.4.tar.gz
|
||||||
|
/ocaml-augeas-0.5.tar.gz
|
||||||
|
@ -2,15 +2,15 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
Name: ocaml-augeas
|
Name: ocaml-augeas
|
||||||
Version: 0.4
|
Version: 0.5
|
||||||
Release: 11%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: OCaml bindings for Augeas configuration API
|
Summary: OCaml bindings for Augeas configuration API
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: LGPLv2+ with exceptions
|
License: LGPLv2+ with exceptions
|
||||||
URL: http://et.redhat.com/~rjones/augeas/files/
|
URL: http://people.redhat.com/~rjones/augeas/files/
|
||||||
Source0: http://et.redhat.com/~rjones/augeas/files/%{name}-%{version}.tar.gz
|
Source0: http://people.redhat.com/~rjones/augeas/files/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
ExcludeArch: sparc64 s390 s390x
|
ExcludeArch: sparc64 s390 s390x
|
||||||
|
|
||||||
BuildRequires: ocaml >= 3.09.0
|
BuildRequires: ocaml >= 3.09.0
|
||||||
@ -19,10 +19,6 @@ BuildRequires: ocaml-ocamldoc
|
|||||||
BuildRequires: augeas-devel >= 0.1.0
|
BuildRequires: augeas-devel >= 0.1.0
|
||||||
BuildRequires: chrpath
|
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
|
%description
|
||||||
Augeas is a unified system for editing arbitrary configuration
|
Augeas is a unified system for editing arbitrary configuration
|
||||||
@ -50,8 +46,11 @@ make
|
|||||||
make doc
|
make doc
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
export DESTDIR=$RPM_BUILD_ROOT
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
@ -65,12 +64,7 @@ strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
|||||||
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING.LIB
|
%doc COPYING.LIB
|
||||||
%{_libdir}/ocaml/augeas
|
%{_libdir}/ocaml/augeas
|
||||||
%if %opt
|
%if %opt
|
||||||
@ -84,7 +78,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc html
|
%doc html
|
||||||
%if %opt
|
%if %opt
|
||||||
%{_libdir}/ocaml/augeas/*.a
|
%{_libdir}/ocaml/augeas/*.a
|
||||||
@ -95,6 +88,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jun 11 2012 Richard W.M. Jones <rjones@redhat.com> - 0.4-11
|
||||||
- Rebuild for OCaml 4.00.0.
|
- Rebuild for OCaml 4.00.0.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user