Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
0a8b0d5058 | |||
ece34a22c1 | |||
eb794641a8 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8ec306b31d9c850f28c5fda52438d904edd1e8fcf862c5ffd756272efac9f422
|
|
||||||
size 287166
|
|
3
pycdlib-1.15.0.tar.gz
Normal file
3
pycdlib-1.15.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:39e95a0d90cee4ecc3472d0fcf7167d2a5c30b209dc4b156e39e0cdc441529f2
|
||||||
|
size 359823
|
@@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 28 10:23:04 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Use libalternatives in TW and Leap 16.0
|
||||||
|
- Change source to github tag archive, the last tag is not released in
|
||||||
|
pypi.
|
||||||
|
- update to 1.15.0:
|
||||||
|
* Remove Python 2 compatibility
|
||||||
|
* Add an encoding parameter to the walk API so non-standard ISOs can be used
|
||||||
|
* Fix ISOs that only have a single extent for Path Tables
|
||||||
|
* Add the 'udf_path' argument to add_file so UDF ISOs can add paths
|
||||||
|
* Fix timestamps for UDF
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 4 09:27:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Wed Jun 4 09:27:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pycdlib
|
# spec file for package python-pycdlib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# 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,14 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: python-pycdlib
|
Name: python-pycdlib
|
||||||
Version: 1.14.0
|
Version: 1.15.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pure python ISO manipulation library
|
Summary: Pure python ISO manipulation library
|
||||||
License: LGPL-2.0-only
|
License: LGPL-2.0-only
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/clalancette/pycdlib
|
URL: https://github.com/clalancette/pycdlib
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pycdlib/pycdlib-%{version}.tar.gz
|
Source: %{URL}/archive/v%{version}.tar.gz#/pycdlib-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@@ -32,6 +38,15 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: mkisofs
|
BuildRequires: mkisofs
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: timezone
|
BuildRequires: timezone
|
||||||
|
|
||||||
|
%if %{with libalternatives}
|
||||||
|
Requires: alts
|
||||||
|
BuildRequires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: mkisofs
|
Requires: mkisofs
|
||||||
Requires: python3-pycdlib-common
|
Requires: python3-pycdlib-common
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -71,12 +86,17 @@ This package includes the common files.
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/pycdlib-explorer
|
%python_clone -a %{buildroot}%{_bindir}/pycdlib-explorer
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pycdlib-extract-files
|
%python_clone -a %{buildroot}%{_bindir}/pycdlib-extract-files
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pycdlib-genisoimage
|
%python_clone -a %{buildroot}%{_bindir}/pycdlib-genisoimage
|
||||||
|
%python_group_libalternatives pycdlib-explorer pycdlib-extract-files pycdlib-genisoimage
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export LC_ALL=ja_JP.UTF-8
|
export LC_ALL=ja_JP.UTF-8
|
||||||
export TZ=Asia/Tokyo
|
export TZ=Asia/Tokyo
|
||||||
%pytest -k unit
|
%pytest -k unit
|
||||||
|
|
||||||
|
%pre
|
||||||
|
# removing old update-alternatives entries
|
||||||
|
%python_libalternatives_reset_alternative pycdlib-explorer
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{python_install_alternative pycdlib-explorer pycdlib-extract-files pycdlib-genisoimage}
|
%{python_install_alternative pycdlib-explorer pycdlib-extract-files pycdlib-genisoimage}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user