[packages/php-pear-Mail_mimeDecode] up to 1.5.6

glen glen at pld-linux.org
Tue Sep 6 10:05:30 CEST 2016


commit 4958e11ac3f10f69029e000910329753b0de6448
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Sep 6 10:59:53 2016 +0300

    up to 1.5.6
    
    - #20431 - support for android
    - #19762 - multipart signed not split correctly on line breaks
    - #20027 - replace /e with preg_replace_callback
    - #19762 - multipart/signed eating of new line, and expose sig_hdr etc.

 php-pear-Mail_mimeDecode.spec | 31 ++++++++++++++-----------------
 1 file changed, 14 insertions(+), 17 deletions(-)
---
diff --git a/php-pear-Mail_mimeDecode.spec b/php-pear-Mail_mimeDecode.spec
index 2a45f3e..8fb9a48 100644
--- a/php-pear-Mail_mimeDecode.spec
+++ b/php-pear-Mail_mimeDecode.spec
@@ -1,21 +1,18 @@
+%define		pearname	Mail_mimeDecode
 %include	/usr/lib/rpm/macros.php
-%define		_class		Mail
-%define		_subclass	mimeDecode
-%define		_status		stable
-%define		_pearname	Mail_mimeDecode
-Summary:	%{_pearname} - decode MIME messages
-Summary(pl.UTF-8):	%{_pearname} - dekodowanie wiadomości MIME
-Name:		php-pear-%{_pearname}
-Version:	1.5.5
+Summary:	%{pearname} - decode MIME messages
+Summary(pl.UTF-8):	%{pearname} - dekodowanie wiadomości MIME
+Name:		php-pear-%{pearname}
+Version:	1.5.6
 Release:	1
 License:	BSD Style
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	915bf1c68a5518afc14700d5b1132200
+Source0:	http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5:	a2d64cf970cb869ac034493ce6fa53d0
 URL:		http://pear.php.net/package/Mail_mimeDecode/
 BuildRequires:	php-pear-PEAR >= 1:1.6.0
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	rpmbuild(macros) >= 1.654
 Requires:	php-pear
 Requires:	php-pear-Mail_Mime > 1.4.0
 Obsoletes:	php-pear-Mail_mimeDecode-tests
@@ -27,27 +24,27 @@ Provides a class to deal with the decoding and interpreting of MIME
 messages. This package used to be part of the Mail_Mime package, but
 has been split off.
 
-In PEAR status of this package is: %{_status}.
-
 %description -l pl.UTF-8
 Ta klasa pozwala na dekodowanie i analizę wiadomości MIME.
 Funkcjonalność ta była częścią pakietu Mail_Mime, została jednak z
 niego wydzielona.
 
-Ta klasa ma w PEAR status: %{_status}.
-
 %prep
 %pear_package_setup
 
 # pear/tests/pearname/tests -> pear/tests/pearname
-mv ./%{php_pear_dir}/tests/%{_pearname}/{tests/*,}
-rmdir ./%{php_pear_dir}/tests/%{_pearname}/tests
+mv ./%{php_pear_dir}/tests/%{pearname}/{tests/*,}
+rmdir ./%{php_pear_dir}/tests/%{pearname}/tests
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
+# not used by this package
+%{__rm} $RPM_BUILD_ROOT%{php_pear_dir}/data/Mail_mimeDecode/xmail.dtd
+%{__rm} $RPM_BUILD_ROOT%{php_pear_dir}/data/Mail_mimeDecode/xmail.xsl
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Mail_mimeDecode.git/commitdiff/4958e11ac3f10f69029e000910329753b0de6448



More information about the pld-cvs-commit mailing list