Blob Blame History Raw
%global srcname %(echo %{name} | sed 's/^python-//')
Name:           python-fqdn
Version:        1.5.1
Release:        3%{?dist}
Summary:        Validates fully-qualified domain names against RFC 1123
BuildArch:      noarch
License:        MPLv2.0
Source0:        %pypi_source
# Missing in pypi tar ball release, present at github :(

%global _description %{expand:
Validates fully-qualified domain names against RFC 1123, so that they
are acceptable to modern browsers.}
%description %_description

%package -n     python3-%{srcname}
Summary:        %{summary}
BuildRequires:  python3-devel
BuildRequires:  python3dist(setuptools)
BuildRequires:  python3-pytest
BuildRequires:  python3-pytest-cov
%description -n python3-%{srcname} %_description

%autosetup -n %{srcname}-%{version}



mkdir tests/
touch tests/
cp %{SOURCE1} tests/

%files -n python3-%{srcname}
%doc README.rst

* Tue Jul 27 2021 Fedora Release Engineering <> - 1.5.1-3
- Second attempt - Rebuilt for

* Fri Jun 25 2021 Paul Wouters <> - 1.5.1-2
- Initial package