Accepting request 1166859 from home:pgajdos

thanks
- remove dependency on /usr/bin/python3 [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1166859
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/itstool?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2024-04-11 12:05:53 +00:00 committed by Git OBS Bridge
parent 7411572bc5
commit 965e7af3ad
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 11 10:45:34 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 [bsc#1212476]
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 16 17:40:49 UTC 2021 - Dirk Müller <dmueller@suse.com> Sat Oct 16 17:40:49 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package itstool # spec file for package itstool
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -41,16 +41,15 @@ what to translate and how to chunk it into messages using the W3C
Internationalization Tag Set (ITS). Internationalization Tag Set (ITS).
%prep %prep
%setup -q %autosetup -p1
%build %build
sed -i -e "/^echo.*import/s/python/python3/" configure export PYTHON=$(realpath %{_bindir}/python3)
export PYTHON=%{_bindir}/python3
%configure %configure
%make_build %make_build
%install %install
%make_install PYTHON=%{_bindir}/python3 %make_install PYTHON=$(realpath %{_bindir}/python3)
%files %files
%license COPYING %license COPYING