Ticket #89 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

[PATCH] Consider packages that would build with --specfile


Reported by: lkundrak Assigned to: pmatilai Priority: major Milestone: rpm-4.9.0 Component: rpm Version: RPM Development Keywords: Cc:


Description

Currently --specfile takes all package structures into account, even those which would not result in binary packages since they lack %files section. This typically causes trouble with packages that only build into subpackages, since the user has no way if finding out which packages would actually build.

To retain compatibility in that case this adds the source package to the list, using "src" as an arch, which makes it distinguishable from the binary packages.

Attachments

0001-Consider-packages-that-would-build-with-specfile.patch (1.7 kB) - added by lkundrak on 08/19/09 16:40:59.

Change History

08/19/09 16:40:59 changed by lkundrak

  • attachment 0001-Consider-packages-that-would-build-with-specfile.patch added.

08/26/09 16:15:52 changed by lkundrak

Ping?

09/11/09 10:31:43 changed by lkundrak

  • milestone set to rpm-4.8.0.

10/08/09 10:29:58 changed by lkundrak

Ping.

/me feels like no one loves him :(

03/24/10 08:32:41 changed by pmatilai

/me thinks the more useful approach would be adding a method (cli switch or such) to access things from the source header instead. That avoids changing the output and makes various new things possible, such as querying sources/patches from the header.

10/06/10 06:15:36 changed by pmatilai

  • milestone changed from rpm-4.8.0 to rpm-4.9.0.

10/12/10 12:27:36 changed by pmatilai

  • status changed from new to closed.
  • resolution set to fixed.

I consider this fixed in HEAD now, although quite differently:

  • %files section is not required in order to generate packages (with no files in them) anymore
  • there's a new 'rpmspec' command line tool which allows querying either source or binary headers from a spec, complete with target overriding and query formatting.