[udunits2/el5/master] update to 2.1.19, build with system expat

Tom Callaway spot at fedoraproject.org
Mon Nov 15 16:56:40 UTC 2010


commit 4be38f16e5a2eaceeeb0a58bcbf40b95c7f1737c
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Mon Nov 15 11:56:44 2010 -0500

    update to 2.1.19, build with system expat

 sources       |    2 +-
 udunits2.spec |   25 +++++++++++++++++--------
 2 files changed, 18 insertions(+), 9 deletions(-)
---
diff --git a/sources b/sources
index 30c75a0..317a56a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-92fcd78aa8c616a210d1375dfe2ec222  udunits-2.1.11.tar.gz
+5d23fb8a86c8a5de695d19164aefeac4  udunits-2.1.19.tar.gz
diff --git a/udunits2.spec b/udunits2.spec
index da1bfb5..dd736f6 100644
--- a/udunits2.spec
+++ b/udunits2.spec
@@ -1,13 +1,12 @@
 Name: udunits2
-Version: 2.1.11
+Version: 2.1.19
 Release: 1%{?dist}
 Summary: A library for manipulating units of physical quantities
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.unidata.ucar.edu/software/udunits/
 Source0: ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: gcc-c++, groff, byacc
+BuildRequires: gcc-c++, groff, byacc, expat-devel
 
 %description
 The Unidata units utility, udunits2, supports conversion of unit specifications 
@@ -45,7 +44,6 @@ the udunits2 library.
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make DESTDIR=%{buildroot} install
 mkdir -p %{buildroot}%{_infodir}/
 install -p -m0644 %{name}.info %{buildroot}%{_infodir}
@@ -54,9 +52,7 @@ install -p -m0644 %{name}.info %{buildroot}%{_infodir}
 mkdir -p %{buildroot}%{_includedir}/%{name}/
 mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/%{name}/
 rm -rf %{buildroot}%{_libdir}/*.la
-
-%clean
-rm -rf %{buildroot}
+rm -rf %{buildroot}%{_infodir}/dir
 
 %post
 /sbin/ldconfig
@@ -75,7 +71,7 @@ fi
 %doc udunits2.html udunits2.pdf
 %{_bindir}/%{name}
 %{_datadir}/udunits/
-%{_infodir}/%{name}.info*
+%{_infodir}/%{name}*.info*
 %{_libdir}/libudunits2.so.*
 
 %files devel
@@ -84,5 +80,18 @@ fi
 %{_libdir}/libudunits2.so
 
 %changelog
+* Mon Nov 15 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 2.1.19-1
+- update to 2.1.19
+
+* Thu Jul  1 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 2.1.17-3
+- missing BuildRequires: expat-devel
+
+* Wed Jun 30 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 2.1.17-2
+- tag mistake
+
+* Wed Jun 30 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 2.1.17-1
+- update to 2.1.17
+- cleanup spec file
+
 * Sun Dec  6 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 2.1.11-1
 - initial package for udunits2: 2.1.11


More information about the scm-commits mailing list