forked from pool/python-hexdump
Accepting request 998752 from devel:languages:python
- Install the data file into the expected directories. OBS-URL: https://build.opensuse.org/request/show/998752 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hexdump?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 23 05:54:29 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Install the data file into the expected directories.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 26 07:20:23 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user