From c5ca4ee11c688562d02562b4295edc695fc1c8df34acfd55c5171aa2c3870ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 24 Jun 2019 09:53:21 +0000 Subject: [PATCH] Accepting request 711589 from home:bmwiedemann:branches:devel:languages:python Add reproducible.patch to sort dir entries (boo#1041090) OBS-URL: https://build.opensuse.org/request/show/711589 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlsec?expand=0&rev=8 --- python-xmlsec.changes | 5 +++++ python-xmlsec.spec | 3 +++ reproducible.patch | 15 +++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 reproducible.patch diff --git a/python-xmlsec.changes b/python-xmlsec.changes index f3f1199..d99b346 100644 --- a/python-xmlsec.changes +++ b/python-xmlsec.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 24 04:32:51 UTC 2019 - Bernhard Wiedemann + +- Add reproducible.patch to sort dir entries (boo#1041090) + ------------------------------------------------------------------- Fri Dec 7 12:07:04 UTC 2018 - Tomáš Chvátal diff --git a/python-xmlsec.spec b/python-xmlsec.spec index 7242251..7f07a5a 100644 --- a/python-xmlsec.spec +++ b/python-xmlsec.spec @@ -25,6 +25,8 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/mehcode/python-xmlsec Source: https://github.com/mehcode/python-xmlsec/archive/%{version}.tar.gz +# PATCH-FIX-UPSTREAM https://github.com/mehcode/python-xmlsec/pull/91 +Patch0: reproducible.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module lxml >= 3.0} BuildRequires: %{python_module lxml-devel} @@ -49,6 +51,7 @@ Python bindings for the XML Security Library %prep %setup -q +%patch0 -p1 %build export CFLAGS="%{optflags}" diff --git a/reproducible.patch b/reproducible.patch new file mode 100644 index 0000000..4f4aafe --- /dev/null +++ b/reproducible.patch @@ -0,0 +1,15 @@ +https://github.com/mehcode/python-xmlsec/pull/91 + +Index: xmlsec-1.3.3/xmlsec_setupinfo.py +=================================================================== +--- xmlsec-1.3.3.orig/xmlsec_setupinfo.py ++++ xmlsec-1.3.3/xmlsec_setupinfo.py +@@ -34,7 +34,7 @@ def description(): + + + def sources(): +- return glob.glob(os.path.join(get_base_dir(), "src", "*.c")) ++ return sorted(glob.glob(os.path.join(get_base_dir(), "src", "*.c"))) + + + def define_macros():