[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: python-miniupnpc: Do not embed running kerne
From: |
guix-commits |
Subject: |
branch master updated: gnu: python-miniupnpc: Do not embed running kernel version. |
Date: |
Fri, 10 Jun 2022 02:07:33 -0400 |
This is an automated email from the git hooks/post-receive script.
vagrantc pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 7795a5dd6b gnu: python-miniupnpc: Do not embed running kernel version.
7795a5dd6b is described below
commit 7795a5dd6bb16ee5ec938ba26b91f69459639189
Author: Vagrant Cascadian <vagrant@reproducible-builds.org>
AuthorDate: Thu Jun 9 21:35:14 2022 -0700
gnu: python-miniupnpc: Do not embed running kernel version.
* gnu/packages/python-xyz.scm (python-miniupnpc)[arguments]: Add
'remove-kernel-version phase.
---
gnu/packages/python-xyz.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5f9ce4fdfe..a6b412e799 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3086,7 +3086,13 @@ server.")
(chdir "miniupnpc")
(setenv "CC" #$(cc-for-target))
(substitute* "Makefile"
- (("/bin/sh") (search-input-file inputs "/bin/sh"))))))))
+ (("/bin/sh") (search-input-file inputs "/bin/sh")))))
+ (add-before 'subdir 'remove-kernel-version
+ ;; Avoid embedding the running kernel version for reproducible
builds
+ (lambda _
+ (substitute*
+ "miniupnpc/updateminiupnpcstrings.sh"
+ (("^OS_VERSION=`uname -r`") "OS_VERSION=Guix")))))))
(inputs (list python)) ;we are building a Python extension
(synopsis "UPnP client for Python")
(description "Miniupnpc is a client library for Python programs to set up
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: python-miniupnpc: Do not embed running kernel version.,
guix-commits <=