commit php7-pear-Auth_SASL for openSUSE:Factory

2019-12-04 Thread root
Hello community,

here is the log from the commit of package php7-pear-Auth_SASL for 
openSUSE:Factory checked in at 2019-12-04 13:55:44

Comparing /work/SRC/openSUSE:Factory/php7-pear-Auth_SASL (Old)
 and  /work/SRC/openSUSE:Factory/.php7-pear-Auth_SASL.new.4691 (New)


Package is "php7-pear-Auth_SASL"

Wed Dec  4 13:55:44 2019 rev:4 rq:753907 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/php7-pear-Auth_SASL/php7-pear-Auth_SASL.changes  
2019-12-02 11:38:41.654465138 +0100
+++ 
/work/SRC/openSUSE:Factory/.php7-pear-Auth_SASL.new.4691/php7-pear-Auth_SASL.changes
2019-12-04 14:21:04.202473033 +0100
@@ -1,0 +2,5 @@
+Tue Dec  3 22:33:02 UTC 2019 - Arjen de Korte 
+
+- Restore php5 obsoletes
+
+---



Other differences:
--
++ php7-pear-Auth_SASL.spec ++
--- /var/tmp/diff_new_pack.us807i/_old  2019-12-04 14:21:04.586473357 +0100
+++ /var/tmp/diff_new_pack.us807i/_new  2019-12-04 14:21:04.586473357 +0100
@@ -30,6 +30,7 @@
 BuildRequires:  %{php_name}-pear
 Requires:   %{php_name}-pear
 Provides:   php-pear(%{pear_name}) = %{version}
+Obsoletes:  php5-pear-%{pear_name}
 BuildArch:  noarch
 
 %description




commit php7-pear-Auth_SASL for openSUSE:Factory

2019-12-02 Thread root
Hello community,

here is the log from the commit of package php7-pear-Auth_SASL for 
openSUSE:Factory checked in at 2019-12-02 11:37:00

Comparing /work/SRC/openSUSE:Factory/php7-pear-Auth_SASL (Old)
 and  /work/SRC/openSUSE:Factory/.php7-pear-Auth_SASL.new.4691 (New)


Package is "php7-pear-Auth_SASL"

Mon Dec  2 11:37:00 2019 rev:3 rq:752850 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/php7-pear-Auth_SASL/php7-pear-Auth_SASL.changes  
2019-02-01 11:44:57.872582119 +0100
+++ 
/work/SRC/openSUSE:Factory/.php7-pear-Auth_SASL.new.4691/php7-pear-Auth_SASL.changes
2019-12-02 11:38:41.654465138 +0100
@@ -1,0 +2,6 @@
+Fri Nov 29 21:02:42 UTC 2019 - Arjen de Korte 
+
+- Use correct macro to reference metadata (boo#1158112)
+- Clean-up spec, use https for downloading
+
+---



Other differences:
--
++ php7-pear-Auth_SASL.spec ++
--- /var/tmp/diff_new_pack.gY9sKr/_old  2019-12-02 11:38:42.042465219 +0100
+++ /var/tmp/diff_new_pack.gY9sKr/_new  2019-12-02 11:38:42.046465220 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package php7-pear-Auth_SASL
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,18 +24,13 @@
 Summary:Abstraction of various SASL mechanism responses
 License:BSD-3-Clause
 Group:  Productivity/Networking/Web/Servers
-Url:http://pear.php.net/package/%{pear_name}
-Source: http://pear.php.net/get/%{pear_name}-%{version}.tgz
+URL:https://pear.php.net/package/%{pear_name}
+Source: https://pear.php.net/get/%{pear_name}-%{version}.tgz
 BuildRequires:  %{php_name}-devel
-BuildRequires:  %{php_name}-pear >= 1.10.1
-Requires:   %{php_name}-pear >= 1.10.1
-Provides:   php-pear-%{pear_name} = %{version}
+BuildRequires:  %{php_name}-pear
+Requires:   %{php_name}-pear
 Provides:   php-pear(%{pear_name}) = %{version}
-Obsoletes:  php5-pear-Auth_SASL
 BuildArch:  noarch
-%if 0%{?suse_version} <= 1330
-BuildRequires:  %{php_name}-macros
-%endif
 
 %description
 Provides code to generate responses to common SASL mechanisms, including:
@@ -46,36 +41,37 @@
   - Login (Pseudo mechanism)
 
 %prep
-%setup -q %setup -q -n %{pear_name}-%{version}
-mv ../package.xml .
+%setup -q -n %{pear_name}-%{version}
+# move package.xml when needed
+[ -f ../package.xml ] &&  mv ../package.xml .
 
 %build
 
 %install
 %{__pear} install --nodeps --offline --packagingroot %{buildroot} package.xml
-install -D -m 0644 package.xml %{buildroot}%{pear_xmldir}/%{pear_name}.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}
-
-%php_pear_gen_filelist
+%{php_pear_gen_filelist}
 
 %post
 if [ "$1" = "1" ]; then
   # on "rpm -ivh"
-  %{__pear} install --nodeps --soft --force --register-only 
%{pear_xmldir}/%{pear_name}.xml
+  %{__pear} install --nodeps --soft --force --register-only 
%{php_pearxmldir}/%{pear_name}.xml || :
 fi
 if [ "$1" = "2" ]; then
   # on "rpm -Uvh"
-  %{__pear} upgrade --offline --register-only %{pear_xmldir}/%{pear_name}.xml
+  %{__pear} upgrade --offline --register-only 
%{php_pearxmldir}/%{pear_name}.xml || :
 fi
 
 %postun
 if [ "$1" = "0" ]; then
   # on "rpm -e"
-  %{__pear} uninstall --nodeps --ignore-errors --register-only 
pear.php.net/%{pear_name}
+  %{__pear} uninstall --nodeps --ignore-errors --register-only 
pear.php.net/%{pear_name} || :
 fi
 
 %files -f %{name}.files
+%docdir %{pear_docdir}
+%exclude %{pear_metadir}/.??*
+%exclude %{pear_testdir}
 
 %changelog




commit php7-pear-Auth_SASL for openSUSE:Factory

2019-02-01 Thread root
Hello community,

here is the log from the commit of package php7-pear-Auth_SASL for 
openSUSE:Factory checked in at 2019-02-01 11:44:57

Comparing /work/SRC/openSUSE:Factory/php7-pear-Auth_SASL (Old)
 and  /work/SRC/openSUSE:Factory/.php7-pear-Auth_SASL.new.28833 (New)


Package is "php7-pear-Auth_SASL"

Fri Feb  1 11:44:57 2019 rev:2 rq:669463 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/php7-pear-Auth_SASL/php7-pear-Auth_SASL.changes  
2017-08-24 18:48:14.944479449 +0200
+++ 
/work/SRC/openSUSE:Factory/.php7-pear-Auth_SASL.new.28833/php7-pear-Auth_SASL.changes
   2019-02-01 11:44:57.872582119 +0100
@@ -1,0 +2,16 @@
+Tue Jan 29 07:40:09 UTC 2019 - suse+bu...@de-korte.org
+
+- Remove (Build)Requires php7-pear-Archive_Tar
+- Only require php7-macros if needed
+
+---
+Sat Aug 26 06:29:41 UTC 2017 - jweberho...@weberhofer.at
+
+- Improve package, use php packaging macros
+
+---
+Sat Aug 26 05:32:05 UTC 2017 - jweberho...@weberhofer.at
+
+- Require php7-macros
+
+---



Other differences:
--
++ php7-pear-Auth_SASL.spec ++
--- /var/tmp/diff_new_pack.ieCxkN/_old  2019-02-01 11:44:58.216581765 +0100
+++ /var/tmp/diff_new_pack.ieCxkN/_new  2019-02-01 11:44:58.216581765 +0100
@@ -18,10 +18,6 @@
 
 %define php_name php7
 %define pear_name  Auth_SASL
-%define pear_sname auth_sasl
-%{!?pear_phpdir: %{expand: %%global pear_phpdir %(pear config-get php_dir 
2> /dev/null)}}
-%{!?pear_xmldir: %{expand: %%global pear_xmldir 
%{_localstatedir}/lib/pear}}
-%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
 Name:   php7-pear-Auth_SASL
 Version:1.1.0
 Release:0
@@ -30,20 +26,16 @@
 Group:  Productivity/Networking/Web/Servers
 Url:http://pear.php.net/package/%{pear_name}
 Source: http://pear.php.net/get/%{pear_name}-%{version}.tgz
-BuildRequires:  %{php_name}
+BuildRequires:  %{php_name}-devel
 BuildRequires:  %{php_name}-pear >= 1.10.1
-BuildRequires:  php7-pear-Archive_Tar
-Requires:   %{php_name}
 Requires:   %{php_name}-pear >= 1.10.1
-Requires:   php7-pear-Archive_Tar
 Provides:   php-pear-%{pear_name} = %{version}
 Provides:   php-pear(%{pear_name}) = %{version}
-Provides:   php-pear(%{pear_sname}) = %{version}
-Obsoletes:  %{php_name}-pear-%{pear_sname} < %{version}
-Obsoletes:  php-pear-%{pear_sname} < %{version}
-Obsoletes:  pear-%{pear_sname} < %{version}
 Obsoletes:  php5-pear-Auth_SASL
 BuildArch:  noarch
+%if 0%{?suse_version} <= 1330
+BuildRequires:  %{php_name}-macros
+%endif
 
 %description
 Provides code to generate responses to common SASL mechanisms, including:
@@ -60,31 +52,30 @@
 %build
 
 %install
-
 %{__pear} install --nodeps --offline --packagingroot %{buildroot} package.xml
 install -D -m 0644 package.xml %{buildroot}%{pear_xmldir}/%{pear_name}.xml
 
 rm -rf %{buildroot}/{doc,tmp}
-rm -rf 
%{buildroot}/%{pear_phpdir}/.{filemap,lock,registry,channels,depdb,depdblock}
+rm -rf 
%{buildroot}/%{php_peardir}/.{filemap,lock,registry,channels,depdb,depdblock}
+
+%php_pear_gen_filelist
 
 %post
-# on `rpm -ivh` PARAM is 1
-# on `rpm -Uvh` PARAM is 2
 if [ "$1" = "1" ]; then
+  # on "rpm -ivh"
   %{__pear} install --nodeps --soft --force --register-only 
%{pear_xmldir}/%{pear_name}.xml
 fi
 if [ "$1" = "2" ]; then
+  # on "rpm -Uvh"
   %{__pear} upgrade --offline --register-only %{pear_xmldir}/%{pear_name}.xml
 fi
 
 %postun
-# on `rpm -e` PARAM is 0
 if [ "$1" = "0" ]; then
+  # on "rpm -e"
   %{__pear} uninstall --nodeps --ignore-errors --register-only 
pear.php.net/%{pear_name}
 fi
 
-%files
-%{pear_phpdir}/*
-%{pear_xmldir}/%{pear_name}.xml
+%files -f %{name}.files
 
 %changelog