[packages/libbytesize] update python patch with explicit python2 bin; rel 4

atler atler at pld-linux.org
Fri Mar 14 23:32:12 CET 2025


commit d19022de8e28c1720b0dff85d4c7df5c06c64e5c
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Mar 14 23:31:32 2025 +0100

    update python patch with explicit python2 bin; rel 4

 libbytesize-python2.patch | 2 +-
 libbytesize.spec          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libbytesize.spec b/libbytesize.spec
index 8f5aadd..c2e8440 100644
--- a/libbytesize.spec
+++ b/libbytesize.spec
@@ -7,7 +7,7 @@ Summary:	A library for working with sizes in bytes
 Summary(pl.UTF-8):	Biblioteka do pracy z rozmiarami w bajtach
 Name:		libbytesize
 Version:	2.9
-Release:	3
+Release:	4
 License:	LGPL v2+
 Group:		Libraries
 #Source0Download: https://github.com/storaged-project/libbytesize/releases
diff --git a/libbytesize-python2.patch b/libbytesize-python2.patch
index 5c058d7..8962d51 100644
--- a/libbytesize-python2.patch
+++ b/libbytesize-python2.patch
@@ -28,7 +28,7 @@ Partially reverts 895baa3bdc50689736bd3bff110bca6e389829ee: [PATCH] Remove Pytho
 +++ libbytesize-2.0/src/python/Makefile.am	2019-06-08 16:37:02.788565790 +0200
 @@ -1,7 +1,14 @@
 +if WITH_PYTHON2
-+pylibdir = $(shell python -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='${exec_prefix}'))")
++pylibdir = $(shell python2 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='${exec_prefix}'))")
 +
 +pybytesizedir     = $(pylibdir)/bytesize
 +dist_pybytesize_DATA = bytesize.py __init__.py
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libbytesize.git/commitdiff/d19022de8e28c1720b0dff85d4c7df5c06c64e5c



More information about the pld-cvs-commit mailing list