Please try to upstream the patch. OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=48
70 lines
2.9 KiB
Diff
70 lines
2.9 KiB
Diff
Date: 2025-02-06
|
|
Author: Bernhard M. Wiedemann
|
|
|
|
drop build timestamps for reproducible builds
|
|
|
|
The alternative is to use SOURCE_DATE_EPOCH as described in
|
|
https://reproducible-builds.org/docs/source-date-epoch/#python--3x
|
|
|
|
diff --git a/host/lib/convert/gen_convert_general.py b/host/lib/convert/gen_convert_general.py
|
|
index eb43301..97d0f55 100644
|
|
--- a/host/lib/convert/gen_convert_general.py
|
|
+++ b/host/lib/convert/gen_convert_general.py
|
|
@@ -14,7 +14,7 @@ TMPL_HEADER = """
|
|
import time
|
|
%>
|
|
/***********************************************************************
|
|
- * This file was generated by ${file} on ${time.strftime("%c")}
|
|
+ * This file was generated by ${file}
|
|
**********************************************************************/
|
|
|
|
#include "convert_common.hpp"
|
|
diff --git a/host/lib/ic_reg_maps/common.py b/host/lib/ic_reg_maps/common.py
|
|
index 499f262..96b0e1d 100644
|
|
--- a/host/lib/ic_reg_maps/common.py
|
|
+++ b/host/lib/ic_reg_maps/common.py
|
|
@@ -13,7 +13,7 @@ from mako.template import Template
|
|
|
|
COMMON_TMPL = """<% import time %>\
|
|
/***********************************************************************
|
|
- * This file was generated by ${file} on ${time.strftime("%c")}
|
|
+ * This file was generated by ${file}
|
|
**********************************************************************/
|
|
|
|
#ifndef INCLUDED_${name.upper()}_HPP
|
|
@@ -128,7 +128,7 @@ private:
|
|
# This template matches the functionality of COMMON_TMPL in Python syntax
|
|
COMMON_PY_TMPL = """<% import time %>\
|
|
##########################################################################
|
|
-# This file was generated by ${file} on ${time.strftime("%c")}
|
|
+# This file was generated by ${file}
|
|
<%text>##########################################################################</%text>
|
|
|
|
from enum import Enum
|
|
diff --git a/host/lib/include/uhdlib/usrp/common/rpc.py b/host/lib/include/uhdlib/usrp/common/rpc.py
|
|
index 5ed6b13..72ea334 100644
|
|
--- a/host/lib/include/uhdlib/usrp/common/rpc.py
|
|
+++ b/host/lib/include/uhdlib/usrp/common/rpc.py
|
|
@@ -126,7 +126,7 @@ IFACES = [
|
|
|
|
COMMON_TMPL = """<% import time %>\
|
|
/***********************************************************************
|
|
- * This file was generated by ${file} on ${time.strftime("%c")}
|
|
+ * This file was generated by ${file}
|
|
**********************************************************************/
|
|
|
|
//
|
|
diff --git a/host/lib/transport/gen_vrt_if_packet.py b/host/lib/transport/gen_vrt_if_packet.py
|
|
index 865b972..9b19c15 100644
|
|
--- a/host/lib/transport/gen_vrt_if_packet.py
|
|
+++ b/host/lib/transport/gen_vrt_if_packet.py
|
|
@@ -17,7 +17,7 @@ The generated code infers jump tables to speed-up the parsing time.
|
|
|
|
TMPL_TEXT = """<% import time %>
|
|
/***********************************************************************
|
|
- * This file was generated by ${file} on ${time.strftime("%c")}
|
|
+ * This file was generated by ${file}
|
|
**********************************************************************/
|
|
|
|
#include <uhd/exception.hpp>
|