Release v2.9.1

This commit is contained in:
mprahl
2018-12-07 08:42:04 -05:00
parent 3775dd6d0d
commit 56fc5ffb94
4 changed files with 8 additions and 29 deletions

1
.gitignore vendored
View File

@@ -65,3 +65,4 @@
/module-build-service-2.6.0.tar.gz
/module-build-service-2.7.0.tar.gz
/module-build-service-2.8.1.tar.gz
/module-build-service-2.9.1.tar.gz

View File

@@ -1,22 +0,0 @@
From ba3bef9f4643e10444ecbffd36769d274b507f4b Mon Sep 17 00:00:00 2001
From: mprahl <mprahl@redhat.com>
Date: Nov 01 2018 13:38:02 +0000
Subject: Don't assume the context is set on base modules in the 526fb7d445f7_module_buildrequires migration
---
diff --git a/module_build_service/migrations/versions/526fb7d445f7_module_buildrequires.py b/module_build_service/migrations/versions/526fb7d445f7_module_buildrequires.py
index e8192d5..6b23cad 100644
--- a/module_build_service/migrations/versions/526fb7d445f7_module_buildrequires.py
+++ b/module_build_service/migrations/versions/526fb7d445f7_module_buildrequires.py
@@ -80,7 +80,7 @@ def upgrade():
.where(mb.c.name == base_module)\
.where(mb.c.stream == base_module_dict['stream'])\
.where(mb.c.version == base_module_dict['version'])\
- .where(mb.c.context == base_module_dict['context'])
+ .where(mb.c.context == base_module_dict.get('context'))
br = connection.execute(select).fetchone()
if not br:
# If the buildrequire isn't in the datbase, then skip it

View File

@@ -4,15 +4,14 @@
%endif
Name: module-build-service
Version: 2.8.1
Release: 2%{?dist}
Version: 2.9.1
Release: 1%{?dist}
Summary: The Module Build Service for Modularity
Group: Development/Tools
License: MIT
URL: https://pagure.io/fm-orchestrator
Source0: https://files.pythonhosted.org/packages/source/m/%{name}/%{name}-%{version}.tar.gz
Patch0: db_migration_context_fix.patch
BuildArch: noarch
@@ -212,13 +211,11 @@ for a number of tasks:
%prep
%setup -q
%patch0 -p1
# Workaround because python2-koji has no egg-info file at the momement
sed -i '/koji/d' requirements.txt
# Also, m2ext. https://pagure.io/fm-orchestrator/issue/931
sed -i '/m2ext/d' requirements.txt
# Remove Python 2 only dependencies
sed -i '/futures/d' requirements.txt
sed -i '/enum34/d' requirements.txt
@@ -296,6 +293,9 @@ done
%changelog
* Fri Dec 07 2018 mprahl <mprahl@redhat.com> - 2.9.1-1
- new version
* Mon Nov 19 2018 mprahl <mprahl@redhat.com> - 2.8.1-2
- Don't assume the context is set on base modules in the 526fb7d445f7_module_buildrequires migration

View File

@@ -1 +1 @@
SHA512 (module-build-service-2.8.1.tar.gz) = 42b905a0a7a9a80287743f558555ac8d2d3e0ccf27b3f2aa435dbd8bee5f8683bdb9a1a85c63d252aa4faf4f61bd34385bda475c5c1359d9fc9855a379123363
SHA512 (module-build-service-2.9.1.tar.gz) = de03f734b42f632b667c8e15d1f45771ec55e26a76abbe05c92064c5f9cbe9ca4eb9a71a330afff0e025b0acddb6575564900c4fc93c2511e63046508e2f6d0c