mbox series

[v2,0/2] tools: ynl: two patches to ease building with rpmbuild

Message ID cover.1731399562.git.jstancek@redhat.com (mailing list archive)
Headers show
Series tools: ynl: two patches to ease building with rpmbuild | expand

Message

Jan Stancek Nov. 12, 2024, 8:21 a.m. UTC
I'm looking to build and package ynl for Fedora and Centos Stream users.
Default rpmbuild has couple hardening options enabled by default [1][2],
which currently prevent ynl from building.

This series contains 2 small patches to address it.

[1] https://fedoraproject.org/wiki/Changes/Harden_All_Packages
[2] https://fedoraproject.org/wiki/Changes/PythonSafePath

Changes in v2:
- rebased on top of https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/

Jan Stancek (2):
  tools: ynl: add script dir to sys.path
  tools: ynl: extend CFLAGS to keep options from environment

 tools/net/ynl/cli.py             | 3 +++
 tools/net/ynl/ethtool.py         | 2 ++
 tools/net/ynl/generated/Makefile | 2 +-
 tools/net/ynl/lib/Makefile       | 2 +-
 tools/net/ynl/samples/Makefile   | 2 +-
 tools/net/ynl/ynl-gen-c.py       | 3 +++
 6 files changed, 11 insertions(+), 3 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 14, 2024, 2:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 12 Nov 2024 09:21:31 +0100 you wrote:
> I'm looking to build and package ynl for Fedora and Centos Stream users.
> Default rpmbuild has couple hardening options enabled by default [1][2],
> which currently prevent ynl from building.
> 
> This series contains 2 small patches to address it.
> 
> [1] https://fedoraproject.org/wiki/Changes/Harden_All_Packages
> [2] https://fedoraproject.org/wiki/Changes/PythonSafePath
> 
> [...]

Here is the summary with links:
  - [v2,1/2] tools: ynl: add script dir to sys.path
    https://git.kernel.org/netdev/net-next/c/c3b3eb565bd7
  - [v2,2/2] tools: ynl: extend CFLAGS to keep options from environment
    https://git.kernel.org/netdev/net-next/c/05a318b4fc13

You are awesome, thank you!