[Rpm-maint] [rpm-software-management/rpm] Make %{buildsubdir} usable without being a side effect of %setup (PR #1925)

Florian Festi notifications at github.com
Thu Feb 17 07:41:08 UTC 2022


This patch makes a couple of related changes:
- lets you set %{buildsubdir} as a global to expose it everywhere,
  rather than just specific parts of %prep (%setup and %patch*)
- lets you choose what path is used independently of the unpack
  options in %setup
- allows you to use a different %{buildsubdir} in different parts of
  the .spec, for instance if you have multiple builds of the same code
  with different compile options



Rebased #860 to $CURRENTYEAR

Resolves: #860
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1925

-- Commit Summary --

  * Make %{buildsubdir} usable without being a side effect of %setup

-- File Changes --

    M build/build.c (13)
    M build/files.c (8)
    M build/parsePrep.c (22)
    M build/rpmbuild_internal.h (1)
    M build/spec.c (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1925.patch
https://github.com/rpm-software-management/rpm/pull/1925.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1925
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1925 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220216/2604c4a5/attachment-0001.html>


More information about the Rpm-maint mailing list