SHA256
1
0
forked from pool/python-ana

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
This commit is contained in:
Andreas Färber 2019-06-06 13:26:12 +00:00 committed by Git OBS Bridge
parent f01a304da8
commit 0dd655d709
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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