[mairix] update to 0.23

Miroslav Lichvar mlichvar at fedoraproject.org
Tue Aug 2 16:27:48 UTC 2011


commit 911d69859d389bb6d4cf71d3822e1e3f96aa0e70
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Tue Aug 2 18:26:11 2011 +0200

    update to 0.23

 .gitignore              |    2 +-
 mairix-0.21-build.patch |   31 -------------------------------
 mairix-build.patch      |   29 +++++++++++++++++++++++++++++
 mairix.spec             |   14 +++++++++++---
 sources                 |    2 +-
 5 files changed, 42 insertions(+), 36 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 393dfd8..2735ee6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-mairix-0.22.tar.gz
+/mairix-0.23.tar.gz
diff --git a/mairix-build.patch b/mairix-build.patch
new file mode 100644
index 0000000..684bd5e
--- /dev/null
+++ b/mairix-build.patch
@@ -0,0 +1,29 @@
+diff -up mairix-0.23/Makefile.in.build mairix-0.23/Makefile.in
+--- mairix-0.23/Makefile.in.build	2011-07-30 01:47:55.000000000 +0200
++++ mairix-0.23/Makefile.in	2011-08-02 11:15:30.693666744 +0200
+@@ -98,11 +98,11 @@ install:
+ 	[ -d $(man1dir) ] || mkdir -p $(man1dir)
+ 	[ -d $(man5dir) ] || mkdir -p $(man5dir)
+ 	cp -f mairix $(bindir)
+-	chmod 555 $(bindir)/mairix
++	chmod 755 $(bindir)/mairix
+ 	cp -f mairix.1 $(man1dir)
+-	chmod 444 $(man1dir)/mairix.1
++	chmod 644 $(man1dir)/mairix.1
+ 	cp -f mairixrc.5 $(man5dir)
+-	chmod 444 $(man5dir)/mairixrc.5
++	chmod 644 $(man5dir)/mairixrc.5
+ 
+ check: mairix
+ 	if [ -d test ]; then cd test ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" check ; else echo "No test subdirectory?" ; exit 1 ; fi
+diff -up mairix-0.23/configure.build mairix-0.23/configure
+--- mairix-0.23/configure.build	2011-07-30 01:47:55.000000000 +0200
++++ mairix-0.23/configure	2011-08-02 10:52:02.844641883 +0200
+@@ -250,7 +250,6 @@ do
+     ;;
+   * )
+     printf "Unrecognized option : $option\n"
+-    bad_options=yes
+     ;;
+   esac
+ done
diff --git a/mairix.spec b/mairix.spec
index ffc339e..e11a52e 100644
--- a/mairix.spec
+++ b/mairix.spec
@@ -1,13 +1,13 @@
 Name:           mairix
-Version:        0.22
-Release:        2%{?dist}
+Version:        0.23
+Release:        1%{?dist}
 Summary:        A program for indexing and searching email messages
 
 Group:          Applications/Internet
 License:        GPLv2
 URL:            http://www.rc0.org.uk/mairix
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-Patch0:         mairix-0.21-build.patch
+Patch0:         mairix-build.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  bison flex bzip2-devel zlib-devel
@@ -33,6 +33,11 @@ make %{?_smp_mflags}
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
+%check
+# it doesn't pass currently
+#chmod 755 test/scripts/*
+#make check
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -44,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man5/mairixrc.5*
 
 %changelog
+* Tue Aug 02 2011 Miroslav Lichvar <mlichvar at redhat.com> 0.23-1
+- update to 0.23
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.22-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 7f7d676..460dc06 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6c6aaca19c2b2de3bf567b856705ce1a  mairix-0.22.tar.gz
+732cf94e05c779ff1ce4a9e9eb19ab44  mairix-0.23.tar.gz


More information about the scm-commits mailing list