From 56e2cc2827460b00ea1b05900c02aa89ada3765d Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Nov 16 2015 18:55:10 +0000 Subject: Try to get this working in rawhide again. --- diff --git a/python-fedora.spec b/python-fedora.spec index 2ac5544..7b31af5 100644 --- a/python-fedora.spec +++ b/python-fedora.spec @@ -1,5 +1,7 @@ %if 0%{?fedora} -%global with_python3 1 +# Disabling python3 subpackage temporarily while rawhide buildroot is broken: +# https://bugzilla.redhat.com/show_bug.cgi?id=1282263 +%global with_python3 0 %endif %if 0%{?rhel} && 0%{?rhel} <= 6 @@ -10,7 +12,7 @@ Name: python-fedora Version: 0.6.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python modules for talking to Fedora Infrastructure Services Group: Development/Languages @@ -176,6 +178,9 @@ Account System. %prep %setup -q -n %{name}-%{version}%{?prerel} +# For https://bugzilla.redhat.com/show_bug.cgi?id=1282571 +sed -i "s/, 'lockfile'//" setup.py + %if 0%{?with_python3} rm -rf %{py3dir} cp -a . %{py3dir} @@ -270,6 +275,10 @@ rm -rf %{buildroot}%{python2_sitelib}/tests/ %{python2_sitelib}/flask_fas_openid.py* %changelog +* Mon Nov 16 2015 Ralph Bean - 0.6.2-6 +- Patch out python-lockfile dep at the setuptools level to avoid pbr breakage. +- Disable python3 subpackage while rawhide buildroot is broken. + * Tue Nov 10 2015 Fedora Release Engineering - 0.6.2-5 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5