Hello community,

here is the log from the commit of package php7-pear-MDB2 for openSUSE:Factory 
checked in at 2018-03-11 15:25:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php7-pear-MDB2 (Old)
 and      /work/SRC/openSUSE:Factory/.php7-pear-MDB2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php7-pear-MDB2"

Sun Mar 11 15:25:01 2018 rev:3 rq:584991 version:2.5.0b5

Changes:
--------
--- /work/SRC/openSUSE:Factory/php7-pear-MDB2/php7-pear-MDB2.changes    
2018-02-12 10:15:38.700575456 +0100
+++ /work/SRC/openSUSE:Factory/.php7-pear-MDB2.new/php7-pear-MDB2.changes       
2018-03-11 15:25:02.491666786 +0100
@@ -1,0 +2,5 @@
+Fri Mar  9 11:32:41 UTC 2018 - jweberho...@weberhofer.at
+
+- Cleaned up spec
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php7-pear-MDB2.spec ++++++
--- /var/tmp/diff_new_pack.yzFrEJ/_old  2018-03-11 15:25:03.419633496 +0100
+++ /var/tmp/diff_new_pack.yzFrEJ/_new  2018-03-11 15:25:03.427633209 +0100
@@ -16,7 +16,6 @@
 #
 
 
-%define peardir %(pear config-get php_dir 2> /dev/null || echo 
%{_datadir}/pear)
 %define pear_name  MDB2
 Name:           php7-pear-MDB2
 Version:        2.5.0b5
@@ -86,18 +85,10 @@
 
 install -D -m 0644 package.xml %{buildroot}%{php_pearxmldir}/%{pear_name}.xml
 
-# patch autoload.inc to not include buildroot
-sed -i -e '17s/@php_dir@/\/usr\/share\/php7\/PEAR/' 
%{buildroot}%{pear_testdir}/%{pear_name}/tests/autoload.inc
-sed -i -e '21s/@php_dir@/\/usr\/share\/php7\/PEAR/' 
%{buildroot}%{pear_testdir}/%{pear_name}/tests/autoload.inc
-
-rm -rf 
%{buildroot}%{php_peardir}/.{filemap,lock,registry,channels,depdb,depdblock}
-
 %check
 # up-to date phpunit can not be run
 
 %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
@@ -106,7 +97,6 @@
 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
@@ -115,7 +105,7 @@
 %{pear_phpdir}/*
 %{php_pearxmldir}/*
 %exclude %{pear_testdir}
-%exclude %{pear_phpdir}/tmp
+%exclude %{pear_phpdir}/.*
 %doc %{pear_docdir}
 
 %changelog


Reply via email to