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:
parent
99a5833028
commit
55d9cda45a
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
camlp5-5.12.tgz
|
||||
/camlp5-6.02.1.tgz
|
||||
/camlp5-6.02.3.tgz
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user