forked from pool/ttf-converter
Accepting request 1143555 from M17N
OBS-URL: https://build.opensuse.org/request/show/1143555 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ttf-converter?expand=0&rev=6
This commit is contained in:
commit
b36faf3ef7
@ -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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
Version: 1.0.7
|
||||
Release: 0
|
||||
@ -23,10 +26,10 @@ Summary: Python script that converts fonts to TrueType format
|
||||
License: GPL-3.0-only
|
||||
URL: https://github.com/antlarr-suse/ttf-converter
|
||||
Source: ttf-converter-%{version}.tar.xz
|
||||
BuildRequires: python3
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: %{primary_python}-base
|
||||
Requires: fontforge
|
||||
Requires: ftdump
|
||||
Requires: python3-base
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -50,7 +53,8 @@ instead.
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp ttf-converter %{buildroot}%{_bindir}
|
||||
install ttf-converter %{buildroot}%{_bindir}
|
||||
%python3_fix_shebang
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user