commit 25df18c474a4a346e842b6a2fc68b6d3d899e7e3
Author: Jan Palus <[email protected]>
Date:   Sun Jun 12 19:07:15 2022 +0200

    up to 2.7

 libbytesize-python2.patch | 2 +-
 libbytesize.spec          | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libbytesize.spec b/libbytesize.spec
index c72d942..d3b4c24 100644
--- a/libbytesize.spec
+++ b/libbytesize.spec
@@ -6,13 +6,13 @@
 Summary:       A library for working with sizes in bytes
 Summary(pl.UTF-8):     Biblioteka do pracy z rozmiarami w bajtach
 Name:          libbytesize
-Version:       2.6
-Release:       3
+Version:       2.7
+Release:       1
 License:       LGPL v2+
 Group:         Libraries
 #Source0Download: https://github.com/storaged-project/libbytesize/releases
 Source0:       
https://github.com/storaged-project/libbytesize/releases/download/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 2c1d253452fd6610b5857add0195698f
+# Source0-md5: c3f5b9bfbf67020c8b42225093321e23
 Patch0:                %{name}-python2.patch
 URL:           https://github.com/storaged-project/libbytesize
 BuildRequires: autoconf >= 2.50
diff --git a/libbytesize-python2.patch b/libbytesize-python2.patch
index 3368eea..5c058d7 100644
--- a/libbytesize-python2.patch
+++ b/libbytesize-python2.patch
@@ -35,7 +35,7 @@ Partially reverts 895baa3bdc50689736bd3bff110bca6e389829ee: 
[PATCH] Remove Pytho
 +endif
 +
  if WITH_PYTHON3
- py3libdir = $(shell python3 -c "import distutils.sysconfig; 
print(distutils.sysconfig.get_python_lib(1,0,prefix='${exec_prefix}'))")
+ py3libdir = $(shell python3 -c "import sysconfig; 
print(sysconfig.get_path('platlib', vars={'platbase': '${exec_prefix}'}))")
  py3bytesizedir    = $(py3libdir)/bytesize
 -dist_py3bytesize_DATA = bytesize.py __init__.py
 +nodist_py3bytesize_DATA = bytesize.py __init__.py
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to