From e33dd044784b856a13f3f6b0f6da47756e0999079cd63d4caa60b32425747765 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 27 Feb 2023 10:28:46 +0000 Subject: [PATCH] - Don't use fdupes -s, it hurts. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ghp-import?expand=0&rev=8 --- python-ghp-import.changes | 5 +++++ python-ghp-import.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-ghp-import.changes b/python-ghp-import.changes index 8217fc4..2118665 100644 --- a/python-ghp-import.changes +++ b/python-ghp-import.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 27 10:28:39 UTC 2023 - Matej Cepl + +- Don't use fdupes -s, it hurts. + ------------------------------------------------------------------- Wed Sep 28 21:18:08 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-ghp-import.spec b/python-ghp-import.spec index 318d47b..5022d01 100644 --- a/python-ghp-import.spec +++ b/python-ghp-import.spec @@ -1,7 +1,7 @@ # # spec file for package python-ghp-import # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-ghp-import Version: 2.1.0 @@ -54,7 +53,7 @@ sed -i '1d' ghp_import.py %python_install %python_clone -a %{buildroot}%{_bindir}/ghp-import -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %post %python_install_alternative ghp-import @@ -66,7 +65,8 @@ sed -i '1d' ghp_import.py %doc README.md %license LICENSE %python_alternative %{_bindir}/ghp-import -%{python_sitelib}/ghp_import* -%{python_sitelib}/__pycache__/* +%{python_sitelib}/ghp_import.py +%{python_sitelib}/__pycache__/ghp_import*.pyc +%{python_sitelib}/ghp_import-%{version}*-info %changelog