Compare commits

1 Commits
1.1 ... main

5 changed files with 81 additions and 12 deletions

View File

@@ -0,0 +1,24 @@
From 2e71e396c5bfb00d506b2f228bb11d0959e99db2 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 10 Feb 2025 15:32:27 +0100
Subject: [PATCH] build: give libisobusfs a version
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 01f90f9..236fba0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -126,6 +126,7 @@ if(NOT ANDROID)
set_target_properties(isobusfs PROPERTIES
PUBLIC_HEADER "${PUBLIC_HEADER_ISOBUSFS}"
+ SOVERSION 0
)
install(TARGETS isobusfs
--
2.48.1

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Feb 18 18:26:01 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Add 0001-build-give-libisobusfs-a-version.patch
-------------------------------------------------------------------
Mon Feb 10 13:21:56 UTC 2025 - pgajdos@suse.com
- version update to 2025.01
* Support of new kernel features:
* Full CAN XL support for candump, canplayer, cangen, log2asc,
asc2log, lib
* cangen: support socket priority
* Improvements and features:
* ISOBUS (ISO11783-13) File Server Interface (isobusfs-srv,
isobusfs-cli)
* Add j1939_datatime_cli
* cansequence: allow to bind on "any" interface
* cansequence: add support to send and receive CAN-FD
* canfdtest: add support for loopback testing
* isotpdump: option to capture functional addressing traffic
* isotpdump: add color support for functional addressing traffic
* isotprecv: add option to enable dynamic flow control
parameters (Linux 6.9+)
* cangen: add missing long CAN frame view for len8_dlc and eff
* canbusload: add auto detection of CAN interfaces
* canbusload: show RX/TX direction in bargraph
* canbusload: support busload statistic and busload visualization
-------------------------------------------------------------------
Wed Mar 15 13:35:18 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package canutils
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,16 @@
Name: canutils
Version: 2023.03
%define lname libisobusfs-suse0
Version: 2025.01
Release: 0
Summary: Utilities for Controller Area Networks from the Linux-CAN project
License: BSD-3-Clause AND GPL-2.0-only
License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.0-only
Group: Hardware/Other
URL: https://github.com/linux-can/can-utils
Source: https://github.com/linux-can/can-utils/archive/refs/tags/v%version.tar.gz
BuildRequires: libtool
Patch1: 0001-build-give-libisobusfs-a-version.patch
BuildRequires: cmake >= 3.5
BuildRequires: pkg-config
BuildRequires: xz
Obsoletes: canutils-linuxcan
@@ -42,20 +44,34 @@ Research to the Linux kernel.
This package contains some userspace utilities for the Linux
SocketCAN subsystem.
%package -n libisobusfs0
Summary: Component library for can-utils
Group: System/Libraries
License: LGPL-2.0-only
%description -n libisobusfs0
Component library for the CAN utilities.
%prep
%autosetup -n can-utils-%version -p1
%build
if test ! -e configure; then ./autogen.sh; fi
%configure --disable-static
%make_build
%cmake
%cmake_build
%install
%make_install
%cmake_install
# headers are useless at present - https://github.com/linux-can/can-utils/issues/578
rm -Rf "%buildroot/%_includedir" "%buildroot/%_libdir/libisobusfs.so"
%ldconfig_scriptlets -n libisobusfs0
%files
%_bindir/*
%doc *.md
%license LICENSES/*
%_bindir/*
%files -n libisobusfs0
%_libdir/libisobusfs.so.*
%changelog

BIN
v2023.03.tar.gz LFS

Binary file not shown.

BIN
v2025.01.tar.gz LFS Normal file

Binary file not shown.