[ocaml-camlp5] New upstream version 6.02.3 (bz 691913). Switch from ExcludeArch to ExclusiveArch %{ocaml_arches}. D

Jerry James jjames at fedoraproject.org
Thu Oct 27 20:30:04 UTC 2011


commit 55d9cda45a20c29de361433cf7812f038260d653
Author: Jerry James <loganjerry at gmail.com>
Date:   Thu Oct 27 14:29:35 2011 -0600

    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.

 .gitignore        |    2 +-
 ocaml-camlp5.spec |   22 ++++++++++------------
 sources           |    2 +-
 3 files changed, 12 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 386d663..1ec80d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-camlp5-5.12.tgz
 /camlp5-6.02.1.tgz
+/camlp5-6.02.3.tgz
diff --git a/ocaml-camlp5.spec b/ocaml-camlp5.spec
index 829721c..29d9276 100644
--- a/ocaml-camlp5.spec
+++ b/ocaml-camlp5.spec
@@ -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 at 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 at lists.fedoraproject.org> - 6.02.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 589ea8b..4010795 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-58913a5a581a3ce9cdad7d6bae5b6709  camlp5-6.02.1.tgz
+a4f5e0dc13c43d50eb655c8e929f556e  camlp5-6.02.3.tgz


More information about the scm-commits mailing list