[HEADS UP] rpm-4.12.90 in rawhide

Frantisek Kluknavsky fkluknav at redhat.com
Mon Jul 27 13:55:53 UTC 2015


On 07/25/2015 11:18 AM, Remi Collet wrote:
> Le 24/07/2015 15:49, Florian Festi a écrit :
>> The freshly released rpm-4.12.90 aka rpm-4.13.0-alpha is going to hit
>> rawhide soon. The two major new features are:
>>
>>   * Boolean (aka rich) dependencies to support more complicated relation
>> between packages
>>   * File Triggers - run scripts if files get installed in given paths -
>> possibly to replace most of the regular - per package - scriptlets at
>> some point in the future.
>>
>> But for now and for Fedora this update is more about testing and
>> stabilizing the many smaller changes as far as they have not been ported
>> back already.
>>
>> See the draft release notes for details: http://rpm.org/wiki/Releases/4.13.0
>
> It seems we have a regression (thanks Koschei)
>
> See https://kojipkgs.fedoraproject.org/work/tasks/4402/10474402/build.log
>
> In spec (which is quite common, I think)
>
> %doc imagick-3.1.2/{CREDITS,TODO,INSTALL}
>
> During %doc
>
> + cp -pr imagick-3.1.2/CREDITS imagick-3.1.2/TODO imagick-3.1.2/INSTALL
> /builddir/build/BUILDROOT/php-pecl-imagick-3.1.2-3.fc24.i386/usr/share/doc/php-pecl-imagick
> + exit 0
> RPM build errors:
> error: File not found:
> /builddir/build/BUILDROOT/php-pecl-imagick-3.1.2-3.fc24.i386/usr/share/doc/php-pecl-imagick/{CREDITS,TODO,INSTALL}
>      File not found:
> /builddir/build/BUILDROOT/php-pecl-imagick-3.1.2-3.fc24.i386/usr/share/doc/php-pecl-imagick/{CREDITS,TODO,INSTALL}
>
>
> Do you want me to file a bug ?
>
> Remi
>
>


Hi,

there is another change involving %doc. A piece of libdvdread.spec: "
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README
%{_libdir}/libdvdread.so.*

%files devel
%defattr(-,root,root,-)
%doc ChangeLog TODO
...
"

With old rpm, files ChangeLog and TODO were included in both 
libdvdread.rpm and libdvdread-devel.rpm. With this new rpm, koji build 
fails with: "
Installed (but unpackaged) file(s) found:
    /usr/share/doc/libdvdread/ChangeLog
    /usr/share/doc/libdvdread/TODO
"

Which behavior is correct? I guess both are wrong. Should bugzillas be 
filed?

Have a nice day,

Fero


More information about the devel mailing list