From d6f55f44136590f8bb47531cfff876263b943fac7ad6012ee178fe6066573c86 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 23 Oct 2020 14:44:20 +0000 Subject: [PATCH] - Use %pycache_only %python_sitelib instead of %python3_sitelib fixes gh#openSUSE/python-rpm-macros#64#issuecomment-715373348 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmdln?expand=0&rev=18 --- python-cmdln.changes | 6 ++++++ python-cmdln.spec | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-cmdln.changes b/python-cmdln.changes index 3eb57f3..bba4c24 100644 --- a/python-cmdln.changes +++ b/python-cmdln.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 23 14:44:10 UTC 2020 - Matej Cepl + +- Use %pycache_only %python_sitelib instead of %python3_sitelib + fixes gh#openSUSE/python-rpm-macros#64#issuecomment-715373348 + ------------------------------------------------------------------- Thu Sep 7 09:49:23 UTC 2017 - mimi.vx@gmail.com diff --git a/python-cmdln.spec b/python-cmdln.spec index 27084f0..5ba5889 100644 --- a/python-cmdln.spec +++ b/python-cmdln.spec @@ -1,7 +1,7 @@ # # spec file for package python-cmdln # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,7 +23,7 @@ Release: 0 Summary: An improved cmd.py for Writing Multi-command Scripts and Shells License: MIT Group: Development/Libraries/Python -Url: https://github.com/trentm/cmdln +URL: https://github.com/trentm/cmdln Source: https://files.pythonhosted.org/packages/source/c/cmdln/cmdln-%{version}.zip BuildRequires: %{python_module base} BuildRequires: %{python_module setuptools} @@ -60,6 +60,6 @@ chmod -x examples/* %files %{python_files} %doc LICENSE.txt docs/ examples/ %{python_sitelib}/cmdln* -%pycache_only %{python3_sitelib}/__pycache__/* +%pycache_only %{python_sitelib}/__pycache__/* %changelog