From 7b9a149e6e5e8874c611e23dfe4195fa3f108d71 Mon Sep 17 00:00:00 2001 From: gbcox Date: Mon, 21 Oct 2019 11:26:34 -0700 Subject: [PATCH] Add rpmlintrc - rhbz#1762309 --- yubioath-desktop.rpmlintrc | 3 +++ yubioath-desktop.spec | 11 ++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 yubioath-desktop.rpmlintrc diff --git a/yubioath-desktop.rpmlintrc b/yubioath-desktop.rpmlintrc new file mode 100644 index 0000000..ea84abe --- /dev/null +++ b/yubioath-desktop.rpmlintrc @@ -0,0 +1,3 @@ +# SPELLING ERRORS +addFilter(r" spelling-error .* (Yubikey)") +addFilter(r" no-manual-page-for-binary yubioath-desktop") diff --git a/yubioath-desktop.spec b/yubioath-desktop.spec index a5b28c7..e79170d 100644 --- a/yubioath-desktop.spec +++ b/yubioath-desktop.spec @@ -1,22 +1,24 @@ %global commit c58db92b64f9676b71c6fd7f6c9f4f0c59a8541e %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global owner Yubico +%global svn git Name: yubioath-desktop Version: 5.0.1 -Release: 1.git%{shortcommit}%{?dist} +Release: 2.%{svn}%{shortcommit}%{?dist} Summary: Yubikey tool for generating OATH event-based HOTP and time-based TOTP codes License: BSD URL: https://github.com/%{owner}/yubioath-desktop -Source: https://github.com/%{owner}/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Source0: https://github.com/%{owner}/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Source1: %{name}.rpmlintrc BuildRequires: qt5-qtbase-devel qt5-qtdeclarative-devel qt5-qtsvg-devel gcc-c++ BuildRequires: python3 desktop-file-utils qt5-qtquickcontrols2-devel Requires: pyotherside qt5-qtdeclarative qt5-qtquickcontrols pcsc-lite-ccid yubikey-manager ## uses Qt5 private api's these help track that -BuildRequires: qt5-qtbase-private-devel +BuildRequires: qt5-qtbase-private-devel %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} %description @@ -50,6 +52,9 @@ install -Dpm0644 -t %{buildroot}%{_datadir}/icons/hicolor/128x128/apps resources %{_datadir}/applications/* %changelog +* Mon Oct 21 2019 Gerald Cox - 5.0.1-2.gitc58db92 +- Add rpmlintrc - rhbz#1762309 + * Wed Oct 16 2019 Gerald Cox - 5.0.1-1.gitc58db92 - Upstream release - rhbz#1762309