Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package brickd for openSUSE:Factory checked 
in at 2022-02-24 18:20:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/brickd (Old)
 and      /work/SRC/openSUSE:Factory/.brickd.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "brickd"

Thu Feb 24 18:20:52 2022 rev:5 rq:957149 version:2.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/brickd/brickd.changes    2021-11-09 
23:55:39.507984667 +0100
+++ /work/SRC/openSUSE:Factory/.brickd.new.1958/brickd.changes  2022-02-24 
18:24:13.198646500 +0100
@@ -1,0 +2,6 @@
+Wed Feb 23 14:23:15 UTC 2022 - Dirk M??ller <[email protected]>
+
+- add a679ca31b8dbd412e5f379b624200e3a96dda0ce.patch for RISCV support 
+- spec-cleaner
+
+-------------------------------------------------------------------

New:
----
  a679ca31b8dbd412e5f379b624200e3a96dda0ce.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ brickd.spec ++++++
--- /var/tmp/diff_new_pack.Sz4vuS/_old  2022-02-24 18:24:13.706646367 +0100
+++ /var/tmp/diff_new_pack.Sz4vuS/_new  2022-02-24 18:24:13.710646366 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package brickd
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2019 Frank Kunz
 #
 # All modifications and additions to the file contributed by third parties
@@ -23,38 +23,39 @@
 Summary:        Tinkerforce Brick Daemon
 License:        GPL-2.0-only
 Group:          System/Daemons
-URL:            http://www.tinkerforge.com
+URL:            https://www.tinkerforge.com
 Source0:        
https://github.com/Tinkerforge/brickd/archive/v%{version}.tar.gz
 Source1:        
https://github.com/Tinkerforge/daemonlib/archive/brickd-%{version}.tar.gz
 Patch0:         harden_brickd-resume.service.patch
 Patch1:         harden_brickd.service.patch
+# PATCH-FIX-UPSTREAM
+Patch2:         
https://github.com/Tinkerforge/brickd/commit/a679ca31b8dbd412e5f379b624200e3a96dda0ce.patch
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libusb)
 BuildRequires:  pkgconfig(systemd)
 Suggests:       logrotate
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Brick Daemon is a small bridge between the USB port of Bricks and
 the TCP/IP socket connection to the language binding APIs.
 
 %prep
-%setup -q -a 1 -n %{name}-%{version}
+%setup -q -a 1
 mv daemonlib-%{name}-%{version} src/daemonlib
-%patch0 -p1
-%patch1 -p1
+%autopatch -p1
 
 %build
 pushd src/brickd
-make %{?_smp_mflags} WITH_SYSTEMD=yes
+%make_build WITH_SYSTEMD=yes
 popd
 
 %install
 pushd src/brickd
-make install DESTDIR=%{buildroot}
+%make_install
 popd
 mkdir -p %{buildroot}%{_sbindir}
-ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
-ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}-resume
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}-resume
 
 %pre
 %service_add_pre brickd-resume.service brickd.service
@@ -69,12 +70,11 @@
 %service_del_postun brickd-resume.service brickd.service
 
 %files -n %{name}
-%defattr(-,root,root)
 %doc src/changelog README.rst
 %{_bindir}/*
 %{_mandir}/man*/%{name}.*
-%config(noreplace) /etc/%{name}.conf
-%config /etc/logrotate.d/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}.conf
+%config %{_sysconfdir}/logrotate.d/%{name}
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}-resume.service
 %{_sbindir}/rc%{name}

++++++ a679ca31b8dbd412e5f379b624200e3a96dda0ce.patch ++++++
>From a679ca31b8dbd412e5f379b624200e3a96dda0ce Mon Sep 17 00:00:00 2001
From: Andreas Schwab <[email protected]>
Date: Fri, 5 Feb 2021 12:39:40 +0100
Subject: [PATCH] linux: No symver for riscV

---
 src/brickd/symver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/brickd/symver.h b/src/brickd/symver.h
index e82f240..dbdb68f 100644
--- a/src/brickd/symver.h
+++ b/src/brickd/symver.h
@@ -28,7 +28,7 @@
 
 #ifdef __GLIBC__
 
-#if defined __aarch64__
+#if defined __aarch64__ || defined __riscv
 // do nothing, because arm64 requires glibc >= 2.17 anyway
 #elif defined __arm__
 __asm__(".symver memcpy,memcpy@GLIBC_2.4");

Reply via email to