Hello community,
here is the log from the commit of package php7-pear-Mail_Mime for
openSUSE:Factory checked in at 2017-11-16 14:02:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php7-pear-Mail_Mime (Old)
and /work/SRC/openSUSE:Factory/.php7-pear-Mail_Mime.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php7-pear-Mail_Mime"
Thu Nov 16 14:02:38 2017 rev:2 rq:542091 version:1.10.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/php7-pear-Mail_Mime/php7-pear-Mail_Mime.changes
2017-11-15 16:51:07.314714503 +0100
+++
/work/SRC/openSUSE:Factory/.php7-pear-Mail_Mime.new/php7-pear-Mail_Mime.changes
2017-11-16 14:02:39.502050877 +0100
@@ -1,0 +2,15 @@
+Wed Nov 8 15:31:04 UTC 2017 - [email protected]
+
+- Move to new unified spec
+
+-------------------------------------------------------------------
+Wed Nov 8 15:26:18 UTC 2017 - [email protected]
+
+- Cleaned up spec
+
+-------------------------------------------------------------------
+Fri Nov 3 08:20:37 UTC 2017 - [email protected]
+
+- Update description with spelling fixes and better read flow.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ php7-pear-Mail_Mime.spec ++++++
--- /var/tmp/diff_new_pack.4gev1B/_old 2017-11-16 14:02:40.454016377 +0100
+++ /var/tmp/diff_new_pack.4gev1B/_new 2017-11-16 14:02:40.458016232 +0100
@@ -21,10 +21,10 @@
Name: php7-pear-Mail_Mime
Version: 1.10.1
Release: 0
-Summary: Mail_Mime provides classes to create mime messages
+Summary: PHP classes to create MIME messages
License: BSD-3-Clause
Group: Development/Libraries/Other
-Url: http://pear.php.net/package/%{pear_name}
+URL: http://pear.php.net/package/Mail_Mime
Source:
http://download.pear.php.net/package/%{pear_name}-%{version}.tgz
BuildRequires: %{php_name}-devel
BuildRequires: %{php_name}-pear
@@ -39,49 +39,25 @@
%endif
%description
-Mail_Mime provides classes to deal with the creation and manipulation of mime
messages.
-It allows people to create Email messages consisting of:
-* Text Parts
-* HTML Parts
-* Inline HTML Images
-* Attachments
-* Attached messages
-
-Starting with version 1.4.0, it also allows non US-ASCII chars in filenames,
- subjects, recipients, etc, etc.
+Mail_Mime provides classes to deal with the creation and manipulation
+of MIME messages. It allows to create e-mail messages consisting of
+text parts, HTML parts, inline HTML images, attachments and attached
+(embedded) messages. It supports non-ASCII characters in filenames,
+subjects, recipients, etc.
%prep
%setup -q -c
+mv package.xml %{pear_name}-%{version}
%build
%install
-mv package.xml %{pear_name}-%{version}
-cd %{pear_name}-%{version}
-%{__pear} -v \
- -d doc_dir=/doc \
- -d bin_dir=%{_bindir} \
- -d data_dir=%{php_peardir}/data \
- install --offline --nodeps -R %{buildroot} package.xml
-
+pushd %{pear_name}-%{version}
+%{__pear} -d doc_dir=%{pear_docdir} install --nodeps --offline --packagingroot
%{buildroot} package.xml
install -D -m 0644 package.xml %{buildroot}%{php_pearxmldir}/%{pear_name}.xml
-
-rm -rf %{buildroot}/{doc,tmp}
-rm -rf
%{buildroot}%{php_peardir}/.{filemap,lock,registry,channels,depdb,depdblock}
-
-###rpmlint
-# wrong-script-interpreter
-sed -i -e "s|%{_prefix}|@prefix@|" scripts/phail.php
-# fix permission
-chmod 0644 scripts/phail.php
-
-cd ..
-
-%{php_pear_gen_filelist}
+rm -rf
%{buildroot}/%{pear_phpdir}/.{filemap,lock,registry,channels,depdb,depdblock}
%post
-# on `rpm -ivh` PARAM is 1
-# on `rpm -Uvh` PARAM is 2
if [ "$1" = "1" ]; then
%{__pear} install --nodeps --soft --force --register-only
%{php_pearxmldir}/%{pear_name}.xml
fi
@@ -90,12 +66,15 @@
fi
%postun
-# on `rpm -e` PARAM is 0
if [ "$1" = "0" ]; then
%{__pear} uninstall --nodeps --ignore-errors --register-only
pear.php.net/%{pear_name}
fi
-%files -f %{name}.files
-%doc %{pear_name}-%{version}/scripts
+%files
+%{pear_phpdir}/*
+%{php_pearxmldir}/*
+%exclude %{pear_testdir}
+%exclude %{pear_phpdir}/tmp
+%doc %{pear_docdir}
%changelog