[Rpm-maint] [rpm-software-management/rpm] Dynamic generator generates "invalid" srpm (Issue #3096)
Vít Ondruch
notifications at github.com
Mon May 13 16:26:00 UTC 2024
~~~
$ curl -OL https://github.com/rpm-software-management/rpm/raw/master/tests/data/SPECS/dynamic.spec
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1695 100 1695 0 0 3367 0 --:--:-- --:--:-- --:--:-- 3367
# rpmbuild -D "_sourcedir ." -D "_srcrpmdir ." -D "FULLDYNAMIC 1" -bs dynamic.spec dynamic.spec
setting SOURCE_DATE_EPOCH=1666569600
Wrote: ./dynamic-1.0-1.src.rpm
Wrote: ./dynamic-1.0-1.src.rpm
$ rpm -q --info dynamic-1.0-1.src.rpm
Name : dynamic
Version : 1.0
Release : 1
Architecture: noarch
Install Date: (not installed)
Group : (none)
Size : 1695
Signature : (none)
Source RPM : (none)
Build Date : Mon May 13 18:20:44 2024
Build Host : fedora
Summary : (none)
Description :
Simple rpm demonstration.
~~~
I don't think it would be possible to generate RPM without e.g. `Summary`. It also differs to SRPM generated with `-ba`, which contains the summary just fine:
~~~
$ rpm -q --info dynamic-1.0-1.src.rpm
Name : dynamic
Version : 1.0
Release : 1
Architecture: noarch
Install Date: (not installed)
Group : Utilities
Size : 1695
License : GPL
Signature : (none)
Source RPM : (none)
Build Date : Mon May 13 18:22:44 2024
Build Host : fedora
URL : http://rpm.org
Summary : dynamic hello -- hello, world rpm
Description :
Simple rpm demonstration.
~~~
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3096
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3096 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240513/ffc46e55/attachment.html>
More information about the Rpm-maint
mailing list