#442 Add option -a to include BuilArch: noarch
Opened a month ago by lecris. Modified a month ago
rpms/ lecris/pyproject-rpm-macros extras-noarch  into  rawhide

file modified
+1 -1
@@ -109,7 +109,7 @@ 

  

  

  # Note: the three times nested questionmarked -i -f -F pattern means: If none of those options was used -- in that case, we inject our own -f

- %pyproject_extras_subpkg(n:i:f:F) %{expand:%{?python_extras_subpkg:%{python_extras_subpkg%{?!-i:%{?!-f:%{?!-F: -f %{_pyproject_ghost_distinfo}}}} %**}}}

+ %pyproject_extras_subpkg(n:i:f:Fa) %{expand:%{?python_extras_subpkg:%{python_extras_subpkg%{?!-i:%{?!-f:%{?!-F: -f %{_pyproject_ghost_distinfo}}}} %**}}}

  

  

  # Escaping an actual percentage sign in path by 8 signs has been verified in RPM 4.16 and 4.17.

file modified
+4 -1
@@ -14,7 +14,7 @@ 

  #   Increment Z when this is a bugfix or a cosmetic change

  # Dropping support for EOL Fedoras is *not* considered a breaking change

  Version:        1.12.0

- Release:        1%{?dist}

+ Release:        2%{?dist}

  

  # Macro files

  Source001:      macros.pyproject
@@ -171,6 +171,9 @@ 

  

  

  %changelog

+ * Wed Apr 10 2024 Cristian Le <fedora@lecris.me> - 1.12.0-2

+ - %%pyproject_extras_subpkg: Add option -a to include BuildArch: noarch

+ 

  * Fri Jan 26 2024 Miro Hrončok <miro@hroncok.cz> - 1.12.0-1

  - Namespace pyproject-rpm-macros generated text files with %%{python3_pkgversion}

  - That way, a single-spec can be used to build packages for multiple Python versions

Counterpart for https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/174

I am assuming that like with -n all unused flags are passed transparently?

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.

I am assuming that like with -n all unused flags are passed transparently?

Yes, it's just that it needs to be part of the getopt string.