[packages/libmodbus] Up to 3.2.0
arekm
arekm at pld-linux.org
Thu Oct 15 09:15:48 CEST 2026
commit d2cb4b6c499548dd3e694e683656c60044cb71f3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 15 09:12:41 2026 +0200
Up to 3.2.0
libmodbus.spec | 11 +++--------
optflags.patch | 18 ------------------
2 files changed, 3 insertions(+), 26 deletions(-)
---
diff --git a/libmodbus.spec b/libmodbus.spec
index 16ea18f..049c673 100644
--- a/libmodbus.spec
+++ b/libmodbus.spec
@@ -6,18 +6,14 @@
Summary: libmodbus - free software library to send/receive data according to the Modbus protocol
Summary(pl.UTF-8): libmodbus - darmowa biblioteka do wysyłania/odbierania danych zgodnie z protokołem Modbus
Name: libmodbus
-# 3.0.x is stable, 3.1.x devel
-# This development version is very stable and will be marked as stable very soon
-# according to https://www.libmodbus.org/download
-Version: 3.1.12
+Version: 3.2.0
Release: 1
License: LGPL v2.1+
Group: Libraries
#Source0Download: https://github.com/stephane/libmodbus/releases
Source0: https://github.com/stephane/libmodbus/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 24482d341203e048d4a7b7c15a417f53
-Patch0: optflags.patch
-Patch1: test.patch
+# Source0-md5: 3b7e647ee368387748c695b8b07d249a
+Patch0: test.patch
URL: https://libmodbus.org/
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1:1.11
@@ -62,7 +58,6 @@ Statyczna biblioteka libmodbus.
%setup -q
%patch -P0 -p1
-%patch -P1 -p1
%build
%{__libtoolize}
diff --git a/optflags.patch b/optflags.patch
deleted file mode 100644
index 3acdbf9..0000000
--- a/optflags.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -up libmodbus-3.1.11/configure.ac._orig libmodbus-3.1.11/configure.ac
---- libmodbus-3.1.11/configure.ac._orig 2024-10-22 11:10:05.000000000 +0200
-+++ libmodbus-3.1.11/configure.ac 2025-01-06 11:34:27.803181238 +0100
-@@ -178,14 +178,6 @@ AC_ARG_ENABLE([debug],
- [enable_debug=$enableval],
- [enable_debug=no])
-
--AS_IF([test "x$enable_debug" = "xyes"], [
-- CFLAGS="-g -O0"
-- CXXFLAGS="-g -O0"
--], [
-- CFLAGS="-O2"
-- CXXFLAGS="-O2"
--])
--
- AC_OUTPUT
- AC_MSG_RESULT([
- $PACKAGE $VERSION
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libmodbus.git/commitdiff/d2cb4b6c499548dd3e694e683656c60044cb71f3
More information about the pld-cvs-commit
mailing list