forked from pool/python-cyrtranslit
- Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cyrtranslit?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 8 08:28:39 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 18 19:17:06 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-cyrtranslit
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 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,7 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without libalternatives
|
||||
Name: python-cyrtranslit
|
||||
Version: 1.1.1
|
||||
Release: 0
|
||||
@@ -23,11 +24,13 @@ Summary: Bi-directional Cyrillic transliteration.
|
||||
License: MIT
|
||||
URL: https://github.com/opendatakosovo/cyrillic-transliteration
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cyrtranslit/cyrtranslit-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: alts
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: alts
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -48,11 +51,8 @@ Bi-directional Cyrillic transliteration. Transliterate Cyrillic script to Latin
|
||||
%check
|
||||
# no unittests, just text files in cyrilic
|
||||
|
||||
%post
|
||||
%python_install_alternative cyrtranslit
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative cyrtranslit
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative cyrtranslit
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user