[matio] - Update to 1.5.1 - Spec file clean-up

Nicolas Chauvet kwizart at fedoraproject.org
Thu Mar 14 16:19:51 UTC 2013


commit 86d3479c11016a6b9e45e8f8e6c58888977766ae
Author: Nicolas Chauvet <kwizart at gmail.com>
Date:   Thu Mar 14 17:19:42 2013 +0100

    - Update to 1.5.1
    - Spec file clean-up

 .gitignore                   |    1 +
 matio-1.5.0-big-endian.patch |   54 ------------------------------------------
 matio.spec                   |   17 ++++--------
 sources                      |    2 +-
 4 files changed, 8 insertions(+), 66 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index af0c48e..88ad388 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 matio-1.3.4.tar.gz
 /matio-1.5.0.tar.gz
+/matio-1.5.1.tar.gz
diff --git a/matio.spec b/matio.spec
index 98af1a3..0360dec 100644
--- a/matio.spec
+++ b/matio.spec
@@ -1,14 +1,12 @@
 Name:           matio
-Version:        1.5.0
-Release:        6%{?dist}
+Version:        1.5.1
+Release:        1%{?dist}
 Summary:        Library for reading/writing Matlab MAT files
 
 Group:          System Environment/Libraries
 License:        BSD
 URL:            http://sourceforge.net/projects/matio
 Source0:        http://downloads.sourceforge.net/matio/matio-%{version}.tar.gz
-Patch0:         %{name}-1.5.0-big-endian.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  doxygen
 #According to the README - zlib 1.2.2 is possible but require a patch
@@ -57,7 +55,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
@@ -72,23 +69,17 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/info/dir
 export LD_LIBRARY_PATH=%{_builddir}/%{?buildsubdir}/src/.libs/ ; make check
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 
 %files
-%defattr(-,root,root,-)
 %doc COPYING NEWS README
 %{_bindir}/matdump
 %{_libdir}/*.so.*
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/matio*.h
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
@@ -96,6 +87,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Mar 14 2013 Nicolas Chauvet <kwizart at gmail.com> - 1.5.1-1
+- Update to 1.5.1
+- Spec file clean-up
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.0-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 485668b..5d4c9bc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-42045916d470d038e4141b37bf33ca20  matio-1.5.0.tar.gz
+2a6116f86a8f81668ba489e65221a32b  matio-1.5.1.tar.gz


More information about the scm-commits mailing list