From 0e5fe8a834eaa58e3f18b54872301ba6219d5b57 Mon Sep 17 00:00:00 2001 From: Juan Orti Alcaine Date: Mar 25 2022 17:57:14 +0000 Subject: Version 13.3.3 --- diff --git a/.gitignore b/.gitignore index 7e07d46..7f0580d 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ /faker-12.0.0.tar.gz /faker-13.3.0.tar.gz /faker-13.3.1.tar.gz +/faker-13.3.3.tar.gz diff --git a/python-faker.spec b/python-faker.spec index 1d55818..ca76b58 100644 --- a/python-faker.spec +++ b/python-faker.spec @@ -1,3 +1,10 @@ +# tests disabled in RHEL +%if 0%{?rhel} +%bcond_with tests +%else +%bcond_without tests +%endif + %global srcname faker %global _description\ Faker is a Python package that generates fake data for you. Whether you need\ @@ -6,7 +13,7 @@ persistence to stress test it, or anonymize data taken from a production\ service, Faker is for you. Name: python-%{srcname} -Version: 13.3.1 +Version: 13.3.3 Release: 1%{?dist} Summary: Faker is a Python package that generates fake data for you License: MIT @@ -15,13 +22,14 @@ Source: https://github.com/joke2k/%{srcname}/archive/v%{version}/%{srcname}-%{ve BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools -# Tests +%if %{with tests} BuildRequires: python3-pytest BuildRequires: python3-dateutil BuildRequires: python3-freezegun BuildRequires: python3-validators BuildRequires: python3-random2 BuildRequires: python3-pillow +%endif %description %_description @@ -46,9 +54,11 @@ Summary: Documentation for %{name} %install %py3_install +%if %{with tests} %check # Exclude tests that require the faker.sphinx module %pytest --ignore-glob='tests/sphinx/*' +%endif %files -n python3-%{srcname} %license LICENSE.txt @@ -61,6 +71,10 @@ Summary: Documentation for %{name} %doc README.rst CHANGELOG.md CONTRIBUTING.rst RELEASE_PROCESS.rst docs/*.rst %changelog +* Fri Mar 25 2022 Juan Orti Alcaine - 13.3.3-1 +- Version 13.3.3 (#2064365) +- Disable tests in RHEL + * Wed Mar 09 2022 Juan Orti Alcaine - 13.3.1-1 - Version 13.3.1 (#2051001) diff --git a/sources b/sources index feea6fc..e043929 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (faker-13.3.1.tar.gz) = ca78dc9fd1f566fc7dcea2eb9c464ab490e39426483e44056005a96ce1c1d3a86881467d6396862291d96b33eb65e331ed7c7682e9fd5cc416f90a17e5e726f7 +SHA512 (faker-13.3.3.tar.gz) = ab8a9accc19bcbf18ff4ec005155126f0641cbab15a4c7d11db185ee80c0980834bc7a49ef4f9e26b65350a3ff8b755653f33bc16283801d7a7570e81ec5bbd8