diff --git a/python-Faker.changes b/python-Faker.changes index eac3dff..7744f4f 100644 --- a/python-Faker.changes +++ b/python-Faker.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Mar 10 10:15:00 UTC 2019 - John Vandenberg + +- Remove pre-existing bytecode files in the sdist, which were + being included in the runtime package and causing lint warnings + on Leap 42.3 & SLE 12 SP4, and they were breaking tests on Leap 15. + ------------------------------------------------------------------- Thu Feb 14 14:44:47 UTC 2019 - Tomáš Chvátal diff --git a/python-Faker.spec b/python-Faker.spec index 163ea8e..d596e2b 100644 --- a/python-Faker.spec +++ b/python-Faker.spec @@ -63,6 +63,8 @@ testing, and data anonymization from production services. %prep %setup -q -n Faker-%{version} +# Remove pre-existing bytecode files in the sdist +find . -name '*.py[co]' -delete # do not hardcode pytest version sed -i -e 's:"pytest>=3.8.0,<3.9":"pytest>=3.8.0":g' setup.py