Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zbar for openSUSE:Factory checked in 
at 2023-06-21 22:37:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zbar (Old)
 and      /work/SRC/openSUSE:Factory/.zbar.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zbar"

Wed Jun 21 22:37:03 2023 rev:18 rq:1093969 version:0.23.90

Changes:
--------
--- /work/SRC/openSUSE:Factory/zbar/zbar.changes        2023-04-29 
17:27:54.906485529 +0200
+++ /work/SRC/openSUSE:Factory/.zbar.new.15902/zbar.changes     2023-06-21 
22:37:15.229430406 +0200
@@ -1,0 +2,6 @@
+Tue Jun 20 11:21:51 UTC 2023 - Martin Pluskal <mplus...@suse.com>
+
+- Modernise spec file
+- Split lang subpackage 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ zbar.spec ++++++
--- /var/tmp/diff_new_pack.n7B8Uf/_old  2023-06-21 22:37:15.809433896 +0200
+++ /var/tmp/diff_new_pack.n7B8Uf/_new  2023-06-21 22:37:15.813433921 +0200
@@ -24,7 +24,6 @@
 Release:        0
 Summary:        Bar code reader
 License:        LGPL-2.0-or-later
-Group:          Productivity/Other
 URL:            https://github.com/mchehab/zbar
 Source0:        
https://linuxtv.org/downloads/%{name}/%{name}-%{version}.tar.bz2
 Source98:       baselibs.conf
@@ -46,9 +45,7 @@
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xv)
-%if 0%{?suse_version} < 1500
-BuildRequires:  gcc7
-%endif
+%lang_package
 
 %description
 ZBar reads bar codes from various sources, such as video streams,
@@ -61,7 +58,6 @@
 
 %package -n %{libname}
 Summary:        Bar code reading library
-Group:          System/Libraries
 
 %description -n %{libname}
 ZBar reads bar codes from various sources, such as video streams,
@@ -73,7 +69,6 @@
 
 %package -n lib%{name}-devel
 Summary:        Development environment for the ZBar library
-Group:          Development/Libraries/C and C++
 Requires:       %{libname} = %{version}
 
 %description -n lib%{name}-devel
@@ -83,14 +78,12 @@
 
 %package -n lib%{name}qt0
 Summary:        ZBar Qt bindings
-Group:          System/Libraries
 
 %description -n lib%{name}qt0
 This package provides ZBar Qt bindings.
 
 %package -n lib%{name}qt-devel
 Summary:        Development environment for the ZBar Qt bindings library
-Group:          Development/Libraries/C and C++
 Requires:       lib%{name}-devel = %{version}
 Requires:       lib%{name}qt0 = %{version}
 
@@ -101,7 +94,6 @@
 
 %package -n python3-zbar
 Summary:        Python3 module for ZBar
-Group:          Development/Languages/Python
 
 %description -n python3-zbar
 This package contains the module to use ZBar from python3.
@@ -110,9 +102,6 @@
 %autosetup -p1
 
 %build
-test -x "$(type -p gcc)" && export CC=$_
-test -x "$(type -p gcc-7)" && export CC=$_
-test -x "$(type -p gcc-8)" && export CC=$_
 %configure \
   --docdir=%{_docdir}/%{name} \
   --disable-static \
@@ -127,16 +116,14 @@
 rm -rf %{buildroot}%{_datadir}/doc/zbar-%{version}/
 rm -f %{buildroot}%{_docdir}/zbar/{COPYING,LICENSE.md,INSTALL.md}
 
-%{find_lang} %{name}
+%find_lang %{name}
 # Lets wait for review first
 rm -rf %{buildroot}%{_sysconfdir}/dbus-1/system.d/org.linuxtv.Zbar.conf
 
-%post -n %{libname} -p /sbin/ldconfig
-%postun -n %{libname} -p /sbin/ldconfig
-%post -n libzbarqt0 -p /sbin/ldconfig
-%postun -n libzbarqt0 -p /sbin/ldconfig
+%ldconfig_scriptlets -n %{libname}
+%ldconfig_scriptlets -n libzbarqt0
 
-%files -f %{name}.lang
+%files
 %license COPYING LICENSE.md
 %{_defaultdocdir}/%{name}/
 %{_bindir}/zbarimg
@@ -144,6 +131,8 @@
 %{_bindir}/zbarcam-qt
 %{_mandir}/man1/*
 
+%files lang -f %{name}.lang
+
 %files -n %{libname}
 %{_libdir}/libzbar.so.%{sover}*
 

Reply via email to