New upstream version 6.02.3 (bz 691913).

Switch from ExcludeArch to ExclusiveArch %{ocaml_arches}.
Drop unnecessary spec file elements (BuildRoot, etc.).
Preserve timestamp on META.
This commit is contained in:
Jerry James 2011-10-27 14:29:35 -06:00
parent 99a5833028
commit 55d9cda45a
3 changed files with 12 additions and 14 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
camlp5-5.12.tgz
/camlp5-6.02.1.tgz
/camlp5-6.02.3.tgz

View File

@ -2,15 +2,14 @@
%global debug_package %{nil}
Name: ocaml-camlp5
Version: 6.02.1
Release: 2%{?dist}
Version: 6.02.3
Release: 1%{?dist}
Summary: Classical version of camlp4 OCaml preprocessor
Group: Development/Libraries
License: BSD
URL: http://pauillac.inria.fr/~ddr/camlp5/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: sparc64 s390 s390x
ExclusiveArch: %{ocaml_arches}
Source0: http://pauillac.inria.fr/~ddr/camlp5/distrib/src/camlp5-%{version}.tgz
Source1: camlp5-META
@ -56,7 +55,6 @@ strip meta/camlp5r.opt etc/camlp5o.opt
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libdir}/ocaml
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}
@ -65,15 +63,10 @@ make install \
OLIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
MANDIR=$RPM_BUILD_ROOT%{_mandir}
cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/ocaml/camlp5/META
%clean
rm -rf $RPM_BUILD_ROOT
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/ocaml/camlp5/META
%files
%defattr(-,root,root,-)
%doc README LICENSE
%{_libdir}/ocaml/camlp5
%if %opt
@ -85,7 +78,6 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root,-)
%doc README LICENSE CHANGES ICHANGES DEVEL UPGRADING
%if %opt
%{_libdir}/ocaml/camlp5/*.a
@ -100,6 +92,12 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Oct 27 2011 Jerry James <loganjerry@gmail.com> - 6.02.3-1
- New upstream version 6.02.3 (bz 691913).
- Switch from ExcludeArch to ExclusiveArch %%{ocaml_arches}.
- Drop unnecessary spec file elements (BuildRoot, etc.).
- Preserve timestamp on META.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
58913a5a581a3ce9cdad7d6bae5b6709 camlp5-6.02.1.tgz
a4f5e0dc13c43d50eb655c8e929f556e camlp5-6.02.3.tgz