From a5981b16bb5d2371ed9534f321fd4f88c21b4e5f4220bee4ff7353c71d4ce87b Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 23 Aug 2022 05:56:23 +0000 Subject: [PATCH] - Install the data file into the expected directories. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hexdump?expand=0&rev=5 --- python-hexdump.changes | 5 +++++ python-hexdump.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-hexdump.changes b/python-hexdump.changes index 3d344c2..4ff0cc1 100644 --- a/python-hexdump.changes +++ b/python-hexdump.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 05:54:29 UTC 2022 - Steve Kowalik + +- Install the data file into the expected directories. + ------------------------------------------------------------------- Mon Aug 26 07:20:23 UTC 2019 - Jan Engelhardt diff --git a/python-hexdump.spec b/python-hexdump.spec index 51254f2..e2720bb 100644 --- a/python-hexdump.spec +++ b/python-hexdump.spec @@ -1,7 +1,7 @@ # # spec file for package python-hexdump # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -50,6 +50,10 @@ cp %{SOURCE1} . %install %python_install +# Copy the data directory ourselves to the correct location +%python_expand cp -av data %{buildroot}%{$python_sitelib} +# and remove the other +rm -rf %{buildroot}/usr/data %python_expand %fdupes %{buildroot}%{$python_sitelib} %check