From 0dd655d7096a32bb93bd0327d3e1cc8efcd7f18884ffaa609e0067b1a43478a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 6 Jun 2019 13:26:12 +0000 Subject: [PATCH] Accepting request 708142 from home:pgajdos - revert to previous behaviour: in case LICENSE, test.py or test_pickle.p are shipped in future upstream version, do not abort build (but also do not overwrite them) OBS-URL: https://build.opensuse.org/request/show/708142 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ana?expand=0&rev=8 --- python-ana.changes | 7 +++++++ python-ana.spec | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-ana.changes b/python-ana.changes index 9e4abba..6594007 100644 --- a/python-ana.changes +++ b/python-ana.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jun 6 12:58:58 UTC 2019 - pgajdos@suse.com + +- revert to previous behaviour: in case LICENSE, test.py or + test_pickle.p are shipped in future upstream version, do not + abort build (but also do not overwrite them) + ------------------------------------------------------------------- Thu Jun 6 07:33:30 UTC 2019 - pgajdos@suse.com diff --git a/python-ana.spec b/python-ana.spec index ece6886..3441c3a 100644 --- a/python-ana.spec +++ b/python-ana.spec @@ -46,7 +46,9 @@ A Python module that provides an undocumented data layer for Python objects. %prep %setup -q -n ana-%{version} -[ -e LICENSE -o -e test.py ] && exit 1 +[ -e LICENSE ] || cp %{SOURCE1} LICENSE +[ -e test.py ] || cp %{SOURCE2} test.py +[ -e test_pickle.p ] || cp %{SOURCE3} test_pickle.p cp %{SOURCE1} %{SOURCE2} %{SOURCE3} . %build