6 Commits

4 changed files with 36 additions and 12 deletions

View File

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

3
recode-3.7.15.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Apr 2 15:05:18 UTC 2025 - Andreas Vetter <vetter@physik.uni-wuerzburg.de>
- simplify python version selection
-------------------------------------------------------------------
Mon Mar 31 10:24:40 UTC 2025 - Andreas Vetter <vetter@physik.uni-wuerzburg.de>
- Require python >= 3.8
-------------------------------------------------------------------
Sat Mar 29 22:14:03 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 3.7.15:
* fix a case in which librecode would close a file handle that
was supplied by the caller
-------------------------------------------------------------------
Mon Mar 13 12:17:25 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -2,6 +2,7 @@
# spec file for package recode
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +19,25 @@
%define libname lib%{name}3
Name: recode
Version: 3.7.14
Version: 3.7.15
Release: 0
Summary: Character Set Converter
License: GPL-3.0-or-later AND LGPL-2.1-or-later
Group: Productivity/Text/Convertors
URL: https://github.com/rrthomas/recode
Source: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: flex
BuildRequires: help2man
BuildRequires: python3
BuildRequires: python3-Cython
BuildRequires: python3-setuptools
# Need python >= 3.8, SLE/Leap15 has 3.6 as default
%if 0%{?suse_version} > 1500
%global pythons %{primary_python}
%else
%global pythons python311
%endif
BuildRequires: %{pythons}
BuildRequires: %{pythons}-Cython
BuildRequires: %{pythons}-setuptools
%description
Recode converts files between various character sets.
@@ -70,13 +78,12 @@ other applications.
rm -f %{buildroot}%{_libdir}/librecode.la
%find_lang %{name}
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%ldconfig_scriptlets -n %{libname}
%files -f %{name}.lang
%license COPYING COPYING-LIB
%doc ABOUT-NLS AUTHORS NEWS README THANKS TODO ChangeLog
%{_mandir}/man1/*
%{_mandir}/man1/*.1%{?ext_man}
%{_infodir}/recode*
%{_bindir}/recode