From 2ed479ab9646973799ea867d59d50169b9ce86f8 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Tue, 6 Dec 2016 17:33:51 -0600 Subject: patch to inherit parent ENVs --- python-dockerfile-parse.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'python-dockerfile-parse.spec') diff --git a/python-dockerfile-parse.spec b/python-dockerfile-parse.spec index 7b39452..02b2d73 100644 --- a/python-dockerfile-parse.spec +++ b/python-dockerfile-parse.spec @@ -15,13 +15,20 @@ Name: python-%{srcname} Version: 0.0.5 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python library for Dockerfile manipulation License: BSD URL: https://github.com/DBuildService/dockerfile-parse Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz +# Patch to handle inheriting ENV vars from parent Dockerfiles +# +# Upstream PRs (merged into single patch here): +# https://github.com/DBuildService/dockerfile-parse/pull/21 +# https://github.com/DBuildService/dockerfile-parse/pull/22 +Patch0: dockerfile-parse-0.0.5-parent_env.patch + BuildArch: noarch %description @@ -61,7 +68,9 @@ Python 3 version. %endif %prep -%autosetup -n %{srcname}-%{version} +%setup -n %{srcname}-%{version} + +%patch0 -p1 %build %py2_build @@ -99,6 +108,9 @@ py.test-%{python3_version} -v tests %endif %changelog +* Tue Dec 06 2016 Adam Miller - 0.0.5-7 +- Patch to handle inheriting parent Dockerfile ENVs + * Wed Sep 07 2016 Igor Gnatenko - 0.0.5-6 - Modernize spec - Trivial fixes -- cgit