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