#105 Add Requires: lua-srpm-macros
Merged a year ago by ignatenkobrain. Opened a year ago by salimma.
rpms/ salimma/redhat-rpm-config lua-macros  into  master

file modified
+6 -2
@@ -6,7 +6,7 @@ 

  

  Summary: Red Hat specific rpm configuration files

  Name: redhat-rpm-config

- Version: 170

+ Version: 171

  Release: 1%{?dist}

  # No version specified.

  License: GPL+
@@ -102,14 +102,15 @@ 

  Requires: gnat-srpm-macros

  Requires: go-srpm-macros

  Requires: kernel-srpm-macros

+ Requires: lua-srpm-macros

  Requires: nim-srpm-macros

  Requires: ocaml-srpm-macros

  Requires: openblas-srpm-macros

  Requires: perl-srpm-macros

  # ↓ Provides compileall2 Python module

  Requires: python-srpm-macros >= 3-46

- Requires: rust-srpm-macros

  Requires: qt5-srpm-macros

+ Requires: rust-srpm-macros

  

  Requires: rpm >= 4.11.0

  Requires: dwz >= 0.4
@@ -212,6 +213,9 @@ 

  %{_rpmconfigdir}/macros.d/macros.kmp

  

  %changelog

+ * Wed Sep  2 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 171-1

+ - Add Requires: lua-srpm-macros

+ 

  * Fri Aug 21 2020 Tom Stellard <tstellar@redhat.com> - 170-1

  - Enable -fstack-clash-protection for clang on x86, s390x, and ppc64le

  

Signed-off-by: Michel Alexandre Salim salimma@fedoraproject.org

One question: presumably this is fine to ship in Rawhide, and (after I do some more testing and push lua-{rpm,srpm}-macros) for F33 as well. But can I get this added to F32 and F31 as well, and if so, do I create a -2 release? (Since presumably we don't want to ship the rest of changes -- F32 is 20 versions behind for instance).

Rationale: being able to use some Lua-related macros at SRPM creation time.

Currently:
https://src.fedoraproject.org/rpms/lua-rpm-macros/blob/master/f/macros.lua-srpm

  • %lua_version
  • %lua_requires

But in the future we might end up with more macros. This is in line with other language runtime; lua-(s)rpm-macros are modeled after python-(s)rpm-macros.

Pull-Request has been merged by ignatenkobrain

a year ago