From a9392e3174be075964b1167ff2a538f765b064d7 Mon Sep 17 00:00:00 2001 From: Carl George Date: Nov 28 2017 03:25:39 +0000 Subject: Add requirement for python rpm module --- diff --git a/keychecker.spec b/keychecker.spec index 090e5c5..c254dd2 100644 --- a/keychecker.spec +++ b/keychecker.spec @@ -6,6 +6,11 @@ License: GPLv2+ URL: https://github.com/jds2001/keychecker Source0: %{url}/archive/v%{version}.tar.gz BuildArch: noarch +%if 0%{?fedora} +Requires: python3-rpm +%else +Requires: rpm-python +%endif %if 0%{?rhel} && 0%{?rhel} <= 6 Requires: python-argparse %endif @@ -34,6 +39,7 @@ install -Dpm 0755 key_checker.py %{buildroot}%{_bindir}/keychecker %changelog * Tue Nov 28 2017 Carl George - 1.0-3 - Use python3 on Fedora +- Add requirement for python rpm module * Wed Jul 26 2017 Fedora Release Engineering - 0.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild