Mailinglist Archive: opensuse-packaging (102 mails)

< Previous Next >
[opensuse-packaging] %license is no longer working?
Dear list,

I wanted to port a python3 package to the singlespec approach and I was
stuck with a strange behavior of %license, which is only available on >=
42.2. I therefore use this condition:
%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320
%license LICENSE

Which works fine, e.g. here:
But not for this package:
Error message is, for 42.2 and TW:

[ 40s] RPM build errors:
[ 40s] File must begin with "/": MIT
[ 40s] File must begin with "/": LICENSE

Apparently %license is replaced by the value of the "License:" field.

Does anyone have a clue why this is not working now?


python programming - mail server - photo - video -
cryptographic key at and on public keyservers

< Previous Next >
This Thread
  • No further messages