18
0

Compare commits

4 Commits

4 changed files with 25 additions and 13 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Jun 12 05:01:34 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Wed Nov 20 17:49:37 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.6.2:
* Fix conversion of floats
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 7 10:41:03 UTC 2022 - Ben Greiner <code@bnavigator.de> Mon Mar 7 10:41:03 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-ufonormalizer # spec file for package python-ufonormalizer
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2025 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,18 +16,19 @@
# #
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-ufonormalizer Name: python-ufonormalizer
Version: 0.6.1 Version: 0.6.2
Release: 0 Release: 0
Summary: Script to normalize the XML and other data inside of a UFO Summary: Script to normalize the XML and other data inside of a UFO
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/unified-font-object/ufoNormalizer URL: https://github.com/unified-font-object/ufoNormalizer
Source: https://files.pythonhosted.org/packages/source/u/ufonormalizer/ufonormalizer-%{version}.zip Source: https://files.pythonhosted.org/packages/source/u/ufonormalizer/ufonormalizer-%{version}.zip
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toml} BuildRequires: %{python_module toml}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: unzip BuildRequires: unzip
@@ -41,14 +42,14 @@ BuildArch: noarch
Script to normalize the XML and other data inside of a UFO. Script to normalize the XML and other data inside of a UFO.
%prep %prep
%setup -q -n ufonormalizer-%{version} %autosetup -p1 -n ufonormalizer-%{version}
sed -i -e '1{\,^#! %{_bindir}/env python,d}' src/ufonormalizer/__init__.py sed -i -e '1{\,^#! %{_bindir}/env python,d}' src/ufonormalizer/__init__.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/ufonormalizer %python_clone -a %{buildroot}%{_bindir}/ufonormalizer
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -66,6 +67,6 @@ sed -i -e '1{\,^#! %{_bindir}/env python,d}' src/ufonormalizer/__init__.py
%license LICENSE.txt %license LICENSE.txt
%python_alternative %{_bindir}/ufonormalizer %python_alternative %{_bindir}/ufonormalizer
%{python_sitelib}/ufonormalizer %{python_sitelib}/ufonormalizer
%{python_sitelib}/ufonormalizer-%{version}*-info %{python_sitelib}/ufonormalizer-%{version}.dist-info
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e61110e75a500083f265385b1354b578610f9542e3bbbeedb98a2a6155e4aa6c
size 37360

3
ufonormalizer-0.6.2.zip Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c5715bb948381f2c641af82b94938ad242d9b5365dd1c5b7ce3d75556a26c3a
size 37406