Add version constraint for productmd

This commit is contained in:
Lubomír Sedlář 2019-12-06 09:51:45 +01:00
parent 5c9523c044
commit aefdba7498
2 changed files with 31 additions and 1 deletions

26
1311.patch Normal file
View File

@ -0,0 +1,26 @@
From 0f53506765d035d760ebe0961957623370d61a34 Mon Sep 17 00:00:00 2001
From: Lubomír Sedlář <lsedlar@redhat.com>
Date: Dec 06 2019 08:49:01 +0000
Subject: Add version constraint to productmd dependency
This should be propagated to RPM level with F30+.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
---
diff --git a/setup.py b/setup.py
index 79e56a9..bbabc40 100755
--- a/setup.py
+++ b/setup.py
@@ -61,7 +61,7 @@ setup(
"jsonschema",
"kobo",
"lxml",
- "productmd",
+ "productmd>=1.23",
"six",
'dogpile.cache',
],

View File

@ -2,13 +2,14 @@
Name: pungi
Version: 4.1.41
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Distribution compose tool
License: GPLv2
URL: https://pagure.io/pungi
Source0: https://pagure.io/releases/%{name}/%{name}-%{version}.tar.bz2
Patch0: https://pagure.io/pungi/pull-request/1310.patch
Patch1: https://pagure.io/pungi/pull-request/1311.patch
BuildRequires: python3-nose
BuildRequires: python3-mock
@ -142,6 +143,9 @@ nosetests-3 --exe
%{_bindir}/%{name}-wait-for-signed-ostree-handler
%changelog
* Fri Dec 06 2019 Lubomír Sedlář <lsedlar@redhat.com> - 4.1.41-3
- Add version constraint for productmd
* Thu Dec 05 2019 Lubomír Sedlář <lsedlar@redhat.com> - 4.1.41-2
- Avoid crash when module has limited arches