Skip to content

Commit

Permalink
Updated distribution RPM spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kopecek committed Apr 14, 2015
1 parent e746d88 commit 9a86629
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions dist/usbguard.spec
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -57,6 +57,9 @@ rm -rf src/ThirdParty/{json,spdlog}

make %{?_smp_mflags}

%check
make check

%install
make install INSTALL='install -p' DESTDIR=%{buildroot}

Expand Down Expand Up @@ -102,6 +105,13 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_libdir}/pkgconfig/*.pc

%changelog
* Tue Apr 14 2015 Daniel Kopecek <[email protected]> 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 <[email protected]> 0.3p2-1
- Update to version 0.3p2
- use system-wide json and spdlog packages
Expand Down

0 comments on commit 9a86629

Please sign in to comment.