commit 026b13bf9b55783a53b8bf86796076b2846b2658
Author: Jakub Bogusz <[email protected]>
Date:   Sun Nov 12 20:27:50 2023 +0100

    - up to 2.1

 libgpiod-python.patch | 18 ++++++------------
 libgpiod.spec         |  6 +++---
 2 files changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/libgpiod.spec b/libgpiod.spec
index cc86ff4..8a7fd6d 100644
--- a/libgpiod.spec
+++ b/libgpiod.spec
@@ -10,12 +10,12 @@
 Summary:       Library and tools for interacting with the Linux GPIO character 
device
 Summary(pl.UTF-8):     Biblioteka i narzędzia do obsługi linuksowych urządzeń 
znakowych GPIO
 Name:          libgpiod
-Version:       2.0.2
+Version:       2.1
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       
https://www.kernel.org/pub/software/libs/libgpiod/%{name}-%{version}.tar.xz
-# Source0-md5: 97931170f1291316b3bf36239c1b3e4a
+# Source0-md5: 42e576d44c261411c9e58bba8a87e7f5
 Patch0:                %{name}-python.patch
 URL:           https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
 %{?with_apidocs:BuildRequires: doxygen}
@@ -217,7 +217,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{py3_sitedir}/gpiod/_ext.cpython-*.so
 %{py3_sitedir}/gpiod/*.py
 %{py3_sitedir}/gpiod/__pycache__
-%{py3_sitedir}/gpiod-2.0.0-py*.egg-info
+%{py3_sitedir}/gpiod-2.0.1-py*.egg-info
 %endif
 
 %if %{with apidocs}
diff --git a/libgpiod-python.patch b/libgpiod-python.patch
index c742a67..c230194 100644
--- a/libgpiod-python.patch
+++ b/libgpiod-python.patch
@@ -1,17 +1,11 @@
---- libgpiod-2.0/bindings/python/Makefile.am.orig      2023-03-02 
15:37:46.000000000 +0100
-+++ libgpiod-2.0/bindings/python/Makefile.am   2023-03-30 20:16:19.674654682 
+0200
-@@ -11,12 +11,12 @@ endif
- 
- all-local:
-       GPIOD_WITH_TESTS=$(BUILD_TESTS) \
--      $(PYTHON) $(srcdir)/setup.py build_ext --inplace \
-+      $(PYTHON) $(srcdir)/setup.py build_ext --inplace \
-               
--include-dirs=$(top_srcdir)/include/:$(top_srcdir)/tests/gpiosim/ \
-               
--library-dirs=$(top_builddir)/lib/.libs/:$(top_srcdir)/tests/gpiosim/.libs/
+--- libgpiod-2.1/bindings/python/Makefile.am.orig      2023-11-12 
19:57:20.387550810 +0100
++++ libgpiod-2.1/bindings/python/Makefile.am   2023-11-12 20:16:15.008070710 
+0100
+@@ -19,7 +19,7 @@ all-local:
  
  install-exec-local:
--      $(PYTHON) $(srcdir)/setup.py install --prefix=$(DESTDIR)$(prefix)
-+      $(PYTHON) $(srcdir)/setup.py install --root=$(DESTDIR) 
--prefix=$(prefix)
+       GPIOD_WITH_TESTS= \
+-      $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
++      $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix)
  
  SUBDIRS = gpiod
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgpiod.git/commitdiff/026b13bf9b55783a53b8bf86796076b2846b2658

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

Reply via email to