Ana Guerrero 2024-02-02 14:44:56 +00:00 committed by Git OBS Bridge
commit 6dcc80d35b
2 changed files with 25 additions and 4 deletions

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Feb 2 06:34:59 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Fix for SLE 15 where %primary_python is not defined.
-------------------------------------------------------------------
Thu Feb 1 13:23:03 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Reduce the BuildRequires from python3 to just python-rpm-macros
and Require: %{primary_python}-base instead of python3-base
which might be off for a short time when %primary_python changes.
-------------------------------------------------------------------
Thu Feb 1 12:46:52 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Use %python3_fix_shebang
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 28 11:16:39 UTC 2023 - Jan Engelhardt <jengelh@inai.de> Thu Sep 28 11:16:39 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ttf-converter # spec file for package ttf-converter
# #
# Copyright (c) 2023 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
@ -16,6 +16,9 @@
# #
%if 0%{suse_version} < 1550
%define primary_python python3
%endif
Name: ttf-converter Name: ttf-converter
Version: 1.0.7 Version: 1.0.7
Release: 0 Release: 0
@ -23,10 +26,10 @@ Summary: Python script that converts fonts to TrueType format
License: GPL-3.0-only License: GPL-3.0-only
URL: https://github.com/antlarr-suse/ttf-converter URL: https://github.com/antlarr-suse/ttf-converter
Source: ttf-converter-%{version}.tar.xz Source: ttf-converter-%{version}.tar.xz
BuildRequires: python3 BuildRequires: python-rpm-macros
Requires: %{primary_python}-base
Requires: fontforge Requires: fontforge
Requires: ftdump Requires: ftdump
Requires: python3-base
BuildArch: noarch BuildArch: noarch
%description %description
@ -50,7 +53,8 @@ instead.
%install %install
mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_bindir}
cp ttf-converter %{buildroot}%{_bindir} install ttf-converter %{buildroot}%{_bindir}
%python3_fix_shebang
%files %files
%license LICENSE %license LICENSE