Re: rpm4 on carme*

2020-11-01 Thread Jakub Bogusz
On Sun, Nov 01, 2020 at 09:23:36AM +0200, Elan Ruusamäe wrote:
> 
> On 10/28/20 12:21 AM, Jan Rękorajski wrote:
> >All carme machines are now running rpm 4.16.0. Please test and report
> >any issues.
> 
> i've created wiki section for this topic.
> 
> 
> https://www.pld-linux.org/packages/rpm#rpm_416_porting_status
> 
> 
> perhaps we can keep it updated, with documenting at least incompatible 
> changes (changes we have no plans to fix)

One such change, just found accidentally (libreoffice.spec) - spaces
around operators in BR were used because of preferred style, in rpm.org
they are obligatory:

-%{?with_system_hunspell:BuildRequires: hunspell-devel >=1.2.2}
+%{?with_system_hunspell:BuildRequires: hunspell-devel >= 1.2.2}

Original notation caused parse error.

(no need to change anything in rpm, just fix a few(?) specs in repo)


-- 
Jakub Boguszhttp://qboosh.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: rpm4 on carme*

2020-11-01 Thread Elan Ruusamäe


On 10/28/20 12:21 AM, Jan Rękorajski wrote:

All carme machines are now running rpm 4.16.0. Please test and report
any issues.


i've created wiki section for this topic.


https://www.pld-linux.org/packages/rpm#rpm_416_porting_status


perhaps we can keep it updated, with documenting at least incompatible 
changes (changes we have no plans to fix)




___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: rpm4 on carme*

2020-11-01 Thread Elan Ruusamäe


On 10/28/20 12:21 AM, Jan Rękorajski wrote:

All carme machines are now running rpm 4.16.0. Please test and report
any issues.



[~/rpm/packages/php(ERR) (PHP_5_6)★] ➔ rpm --version
RPM version 4.16.0

[~/rpm/packages/php(ERR) (PHP_5_6)★] ➔ rpm -q rpm
rpm-4.16.0-0.4.x86_64


php.spec @PHP_5_6:

warning: line 423: It's not recommended to have unversioned Obsoletes: 
Obsoletes:   phpfi
warning: line 439: It's not recommended to have unversioned Obsoletes: 
Obsoletes:   phpfi

error: line 527: Illegal char '/' (0x2f) in: Obsoletes: /usr/bin/php
error: line 527: Only package names are allowed in Obsoletes: 
Obsoletes:    /usr/bin/php

error: query of specfile php.spec failed, can't parse


php.spec @master:


warning: Macro expanded in comment on line 161: %{orgname}-%{version}.tar.xz
warning: line 378: It's not recommended to have unversioned Obsoletes: 
Obsoletes:   phpfi

error: line 466: Illegal char '/' (0x2f) in: Obsoletes: /usr/bin/php
error: line 466: Only package names are allowed in Obsoletes: 
Obsoletes:    /usr/bin/php

error: query of specfile php.spec failed, can't parse
[~/rpm/packages/php(ERR) (master)★] ➔


___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en