From 9a86629e618c2b1aa029833ad0e19d3f58fb00bc Mon Sep 17 00:00:00 2001 From: Daniel Kopecek Date: Tue, 14 Apr 2015 13:17:35 +0200 Subject: [PATCH] Updated distribution RPM spec file --- dist/usbguard.spec | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/dist/usbguard.spec b/dist/usbguard.spec index c9513261..30e93cd1 100644 --- a/dist/usbguard.spec +++ b/dist/usbguard.spec @@ -1,11 +1,13 @@ %global _hardened_build 1 Name: usbguard -Version: 0.3p2 +Version: 0.3p3 Release: 1%{?dist} Summary: A tool for implementing USB device usage policy Group: System Environment/Daemons License: GPLv2+ +## Not installed +# src/ThirdParty/Catch: Boost Software License - Version 1.0 URL: https://dkopecek.github.io/usbguard Source0: https://dkopecek.github.io/usbguard/dist/%{name}-%{version}.tar.gz Source1: usbguard-daemon.conf @@ -35,9 +37,7 @@ Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig -Requires: libqb-devel -Requires: libsodium-devel -Requires: systemd-devel +Requires: libstdc++-devel %description devel The %{name}-devel package contains libraries and header files for @@ -57,6 +57,9 @@ rm -rf src/ThirdParty/{json,spdlog} make %{?_smp_mflags} +%check +make check + %install make install INSTALL='install -p' DESTDIR=%{buildroot} @@ -102,6 +105,13 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/pkgconfig/*.pc %changelog +* Tue Apr 14 2015 Daniel Kopecek 0.3p3-1 +- Update to version 0.3p3 +- added %check section +- removed explicit -devel requires on systemd, libqb and + libsodium devel files +- added -devel requires on libstdc++-devel + * Sat Apr 11 2015 Daniel Kopecek 0.3p2-1 - Update to version 0.3p2 - use system-wide json and spdlog packages