[packages/php] - added Obsoleted for withdrawn modules

Elan Ruusamäe glen at pld-linux.org
Thu Mar 17 20:20:45 CET 2016


not that i care about php4, but in general:

    i would rather see my system not updating due broken deps,
    than some random package uninstalling previous working module!

On 17.03.2016 21:08, qboosh wrote:
> commit 5f8c3b489f6c9774156704d0b5e3904f84e352c2
> Author: Jakub Bogusz <qboosh at pld-linux.org>
> Date:   Thu Mar 17 20:12:33 2016 +0100
>
>      - added Obsoleted for withdrawn modules
>
>   php.spec | 11 +++++++++++
>   1 file changed, 11 insertions(+)
> ---
> diff --git a/php.spec b/php.spec
> index a788455..2f83ec8 100644
> --- a/php.spec
> +++ b/php.spec
> @@ -548,7 +548,14 @@ Provides:	php(standard)
>   %{?with_pcre:%requires_ge_to	pcre pcre-devel}
>   Suggests:	browscap
>   Obsoletes:	php-common < 4:5.3.28-7
> +# withdrawn modules
> +Obsoletes:	php-filepro < 4:5.2.0
> +Obsoletes:	php-hwapi < 4:5.2.0
> +Obsoletes:	php-hyperwave < 3:5.0.0
> +Obsoletes:	php-java < 3:5.0.0
> +Obsoletes:	php-mcal < 3:5.0.0
>   Obsoletes:	php-pecl-domxml
> +Obsoletes:	php-qtdom < 3:5.0.0
>   Conflicts:	php4-common < 3:4.4.4-8
>   Conflicts:	php55-common < 4:5.5.10-4
>   Conflicts:	rpm < 4.4.2-0.2
> @@ -722,6 +729,8 @@ URL:		http://php.net/manual/en/book.dba.php
>   Requires:	%{name}-common = %{epoch}:%{version}-%{release}
>   Provides:	php(dba)
>   Obsoletes:	php-dba < 4:5.3.28-7
> +# withdrawn module of similar functionality but different API
> +Obsoletes:	php-db < 3:5.0.0
>   
>   %description dba
>   This is a dynamic shared object (DSO) for PHP that will add flat-file
> @@ -1163,6 +1172,8 @@ URL:		http://php.net/manual/en/book.oci8.php
>   %{?requires_php_extension}
>   Provides:	php(oci8)
>   Obsoletes:	php-oci8 < 4:5.3.28-7
> +# withdrawn module of similar functionality but different API
> +Obsoletes:	php-oracle < 4:5.1.0
>   


-- 
glen



More information about the pld-devel-en mailing list