Blame SPECS/python-sqlalchemy-filters.spec

d79d0e
%global pypi_name sqlalchemy-filters
d79d0e
d79d0e
Name:           python-%{pypi_name}
d79d0e
Version:        0.12.0
d79d0e
Release:        3%{?dist}
d79d0e
Summary:        A library to filter SQLAlchemy queries
d79d0e
d79d0e
License:        ASL 2.0
d79d0e
URL:            https://github.com/juliotrigo/sqlalchemy-filters
d79d0e
Source0:        %{pypi_source}
d79d0e
BuildArch:      noarch
d79d0e
d79d0e
BuildRequires:  python3-devel
d79d0e
BuildRequires:  python3dist(setuptools)
d79d0e
d79d0e
%description
d79d0e
Filter, sort and paginate SQLAlchemy query
d79d0e
objects. Ideal for exposing these actions over a REST API.
d79d0e
d79d0e
%package -n     python3-%{pypi_name}
d79d0e
Summary:        %{summary}
d79d0e
%{?python_provide:%python_provide python3-%{pypi_name}}
d79d0e
d79d0e
Requires:       python3dist(six) >= 1.10
d79d0e
Requires:       python3dist(sqlalchemy) >= 1.0.16
d79d0e
%description -n python3-%{pypi_name}
d79d0e
Filter, sort and paginate SQLAlchemy query
d79d0e
objects. Ideal for exposing these actions over a REST API.
d79d0e
d79d0e
%prep
d79d0e
%autosetup -n %{pypi_name}-%{version}
d79d0e
# Remove bundled egg-info
d79d0e
rm -rf %{pypi_name}.egg-info
d79d0e
d79d0e
%build
d79d0e
%py3_build
d79d0e
d79d0e
%install
d79d0e
%py3_install
d79d0e
d79d0e
%check
d79d0e
# Tests are not included in the tarball
d79d0e
d79d0e
%files -n python3-%{pypi_name}
d79d0e
%license LICENSE
d79d0e
%doc README.rst
d79d0e
%{python3_sitelib}/sqlalchemy_filters
d79d0e
%{python3_sitelib}/sqlalchemy_filters-%{version}-py%{python3_version}.egg-info
d79d0e
d79d0e
%changelog
d79d0e
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-3
d79d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d79d0e
d79d0e
* Fri Sep 25 2020 Javier Peña <jpena@redhat.com> - 0.12.0-2
d79d0e
- Removed funcsigs dependency, not needed in this Python release.
d79d0e
d79d0e
* Fri Sep 25 2020 Javier Peña <jpena@redhat.com> - 0.12.0-1
d79d0e
- Initial package.