Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9866d76b16 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 6 11:10:14 UTC 2025 - Max Lin <mlin@suse.com>
|
||||||
|
|
||||||
|
- Add %python3_fix_shebang and %fdupes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 28 13:17:46 UTC 2022 - Enno Gotthold <egotthold@suse.com>
|
Sat May 28 13:17:46 UTC 2022 - Enno Gotthold <egotthold@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ BuildArch: noarch
|
|||||||
|
|
||||||
BuildRequires: python%{python_pkgversion}-%{develsuffix}
|
BuildRequires: python%{python_pkgversion}-%{develsuffix}
|
||||||
BuildRequires: python%{python_pkgversion}-setuptools
|
BuildRequires: python%{python_pkgversion}-setuptools
|
||||||
|
BuildRequires: fdupes
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
# We need these to build this properly, and OBS doesn't pull them in by default for EPEL
|
# We need these to build this properly, and OBS doesn't pull them in by default for EPEL
|
||||||
BuildRequires: epel-rpm-macros
|
BuildRequires: epel-rpm-macros
|
||||||
@@ -93,6 +94,8 @@ pathfix.py -pni "%{__python} %{py_shbang_opts}" bin
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%py_install
|
%py_install
|
||||||
|
%python3_fix_shebang
|
||||||
|
%fdupes -s %{buildroot}%{python3_sitelib}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|||||||
Reference in New Issue
Block a user