Hello community,
here is the log from the commit of package lshw for openSUSE:Factory checked in at 2017-05-10 20:53:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lshw (Old)
and /work/SRC/openSUSE:Factory/.lshw.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lshw"
Wed May 10 20:53:08 2017 rev:4 rq:493815 version:B.02.18
Changes:
--------
--- /work/SRC/openSUSE:Factory/lshw/lshw.changes 2016-06-23 13:36:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lshw.new/lshw.changes 2017-05-10 20:53:11.268239080 +0200
@@ -1,0 +2,7 @@
+Tue May 2 17:10:11 UTC 2017 - mpluskal@suse.com
+
+- Simplify dependencies and build
+- Split lang subpackage
+- Prepare for SLE submission (fate#322439)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lshw.spec ++++++
--- /var/tmp/diff_new_pack.a4tnH1/_old 2017-05-10 20:53:12.188109275 +0200
+++ /var/tmp/diff_new_pack.a4tnH1/_new 2017-05-10 20:53:12.200107583 +0200
@@ -1,7 +1,7 @@
#
# spec file for package lshw
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Pascal Bleser
#
# All modifications and additions to the file contributed by third parties
@@ -23,8 +23,8 @@
Summary: HardWare LiSter
License: GPL-2.0
Group: Hardware/Other
-Url: http://ezix.org/project/wiki/HardwareLiSter
-Source: http://ezix.org/software/files/lshw-%{version}.tar.gz
+Url: https://www.ezix.org/project/wiki/HardwareLiSter
+Source: https://www.ezix.org/software/files/lshw-%{version}.tar.gz
Source1: lshw.desktop.in
Source2: lshw.png
BuildRequires: gcc-c++
@@ -32,20 +32,9 @@
BuildRequires: libpng-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
-BuildRequires: pkgconfig(gail) >= 2.4.0
-BuildRequires: pkgconfig(gdk-2.0) >= 2.4.0
-BuildRequires: pkgconfig(gdk-x11-2.0) >= 2.4.0
-BuildRequires: pkgconfig(gtk+-2.0) >= 2.4.0
-BuildRequires: pkgconfig(gtk+-unix-print-2.0) >= 2.4.0
-BuildRequires: pkgconfig(gtk+-x11-2.0) >= 2.4.0
-BuildRequires: pkgconfig(libglade-2.0)
-BuildRequires: pkgconfig(pango)
-BuildRequires: pkgconfig(pangocairo)
-BuildRequires: pkgconfig(pangoft2)
-BuildRequires: pkgconfig(pangoxft)
-BuildRequires: pkgconfig(sqlite3)
-BuildRequires: pkgconfig(zlib)
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: pkgconfig(gtk+-2.0) >= 2.4
+Recommends: %{name}-lang
+%lang_package
%description
lshw (Hardware Lister) is a small tool to provide detailed informaton on the
@@ -89,34 +78,20 @@
%build
make \
- PREFIX="%{_prefix}" \
SBINDIR="%{_sbindir}" \
- MANDIR="%{_mandir}" \
- DATADIR="%{_datadir}" \
- CXX="g++" \
- CC="gcc" \
RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing" \
STRIP=touch \
all gui
%install
-make \
- %{?_smp_mflags} \
- DESTDIR=%{buildroot} \
- PREFIX="%{_prefix}" \
- SBINDIR="%{_sbindir}" \
- MANDIR="%{_mandir}" \
- DATADIR="%{_datadir}" \
- CXX="g++" \
- CC="gcc" \
- OPTFLAGS="%{optflags}" \
- install install-gui
+%make_install install-gui
install -d "%{buildroot}%{_datadir}/applications"
sed 's,@@EXEC@@,%{_sbindir}/gtk-lshw,g' < "%{SOURCE1}" \
> "%{buildroot}%{_datadir}/applications/%{name}.desktop"
chmod 0644 "%{buildroot}%{_datadir}/applications/%{name}.desktop"
-install -D -m 0644 "%{SOURCE2}" "%{buildroot}%{_datadir}/pixmaps/%{name}.png"
+install -D -p -m 0644 %{SOURCE2} \
+ %{buildroot}%{_datadir}/pixmaps/%{name}.png
%suse_update_desktop_file -r "%{name}" System HardwareSettings
# All of following are shipped by other packages as well
@@ -135,13 +110,16 @@
%desktop_database_postun
%icon_theme_cache_postun
-%files -f lshw.lang
+%files
%defattr(-,root,root,0755)
%doc README.md COPYING docs/TODO docs/Changelog docs/lshw.xsd
%attr(0755,root,root) %{_sbindir}/lshw
%dir %{_datadir}/lshw
%{_mandir}/man1/lshw.1%{ext_man}
+%files lang -f %{name}.lang
+%defattr(-,root,root)
+
%files gui
%defattr(-,root,root,0755)
%doc COPYING