Hello community,

here is the log from the commit of package usbguard for openSUSE:Factory 
checked in at 2019-05-24 11:32:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/usbguard (Old)
 and      /work/SRC/openSUSE:Factory/.usbguard.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "usbguard"

Fri May 24 11:32:49 2019 rev:6 rq:705009 version:0.7.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/usbguard/usbguard.changes        2019-01-21 
10:56:50.667548986 +0100
+++ /work/SRC/openSUSE:Factory/.usbguard.new.5148/usbguard.changes      
2019-05-24 11:32:51.593378836 +0200
@@ -1,0 +2,6 @@
+Wed May 22 13:38:28 UTC 2019 - Christophe Giboudeaux <[email protected]>
+
+- Run spec-cleaner
+- Add the missing systemd build requirement.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ usbguard.spec ++++++
--- /var/tmp/diff_new_pack.T6d11K/_old  2019-05-24 11:32:52.569378464 +0200
+++ /var/tmp/diff_new_pack.T6d11K/_new  2019-05-24 11:32:52.573378461 +0200
@@ -17,9 +17,7 @@
 
 
 %global _hardened_build 1
-
 %define lname libusbguard0
-
 Name:           usbguard
 Version:        0.7.4
 Release:        0
@@ -35,8 +33,6 @@
 Source3:        usbguard-daemon.conf
 Source4:        usbguard-rpmlintrc
 Patch0:         usbguard-applet-qt_desktop_menu_categories.patch
-%{?systemd_requires}
-
 BuildRequires:  asciidoc
 BuildRequires:  aspell
 BuildRequires:  audit-devel
@@ -58,20 +54,23 @@
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
 BuildRequires:  pegtl-devel
+BuildRequires:  pkgconfig
 BuildRequires:  polkit-devel
 #BuildRequires:  spdlog-static
 BuildRequires:  protobuf-devel
+BuildRequires:  pkgconfig(systemd)
+%{?systemd_requires}
 
 %description
 The USBGuard software framework helps to protect your computer against rogue 
USB
 devices by implementing basic whitelisting/blacklisting capabilities based on
 USB device attributes.
 
-%package -n %lname
+%package -n %{lname}
 Summary:        Library for implementing USB device usage policy
 Group:          System/Libraries
 
-%description -n %lname
+%description -n %{lname}
 The USBGuard software framework helps to protect your computer against rogue 
USB
 devices by implementing basic whitelisting/blacklisting capabilities based on
 USB device attributes.
@@ -79,7 +78,7 @@
 %package        devel
 Summary:        Development files for %{name}
 Group:          Development/Libraries/C and C++
-Requires:       %lname = %{version}
+Requires:       %{lname} = %{version}
 Requires:       %{name} = %{version}
 Requires:       libstdc++-devel
 Requires:       pkgconfig
@@ -108,7 +107,7 @@
 for interacting with the USBGuard daemon component.
 
 %prep
-%setup -q -n usbguard-%version
+%setup -q -n usbguard-%{version}
 %patch0 -p1
 
 %build
@@ -161,7 +160,6 @@
 %postun -n libusbguard0 -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
 %doc README.adoc CHANGELOG.md
 %license LICENSE
 %{_sbindir}/usbguard-daemon
@@ -172,35 +170,31 @@
 %config(noreplace) %attr(0600,-,-) %{_sysconfdir}/usbguard/usbguard-daemon.conf
 %config(noreplace) %attr(0600,-,-) %{_sysconfdir}/usbguard/rules.conf
 %{_unitdir}/usbguard.service
-%{_datadir}/man/man8/usbguard-daemon.8.gz
-%{_datadir}/man/man5/usbguard-daemon.conf.5.gz
-%{_datadir}/man/man5/usbguard-rules.conf.5.gz
+%{_mandir}/man8/usbguard-daemon.8%{?ext_man}
+%{_mandir}/man5/usbguard-daemon.conf.5%{?ext_man}
+%{_mandir}/man5/usbguard-rules.conf.5%{?ext_man}
 %{_datadir}/bash-completion/completions/usbguard
 %dir %{_datadir}/zsh
 %dir %{_datadir}/zsh/site-functions
 %{_datadir}/zsh/site-functions/_usbguard
 
-%files -n %lname
-%defattr(-,root,root,-)
+%files -n %{lname}
 %license LICENSE
 %{_libdir}/*.so.*
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/*
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 
 %files tools
-%defattr(-,root,root,-)
 %{_bindir}/usbguard
 %{_bindir}/usbguard-rule-parser
-%{_datadir}/man/man1/usbguard.1.gz
+%{_mandir}/man1/usbguard.1%{?ext_man}
 
 %files applet-qt
-%defattr(-,root,root,-)
 %{_bindir}/usbguard-applet-qt
-%{_mandir}/man1/usbguard-applet-qt.1.gz
+%{_mandir}/man1/usbguard-applet-qt.1%{?ext_man}
 %{_datadir}/applications/usbguard-applet-qt.desktop
 %dir %{_datadir}/icons/hicolor
 %dir %{_datadir}/icons/hicolor/scalable




Reply via email to