Blame python-xpath-expressions.spec

e3d16e6
%global pypi_name xpath-expressions
e3d16e6
e3d16e6
Name:           python-%{pypi_name}
e3d16e6
Version:        1.0.2
e632aa3
Release:        3%{?dist}
e3d16e6
Summary:        Treat XPath expressions as Python objects
e3d16e6
e3d16e6
License:        MIT
e3d16e6
URL:            https://github.com/orf/xpath-expressions
e3d16e6
Source0:        %{pypi_source}
e3d16e6
BuildArch:      noarch
e3d16e6
e3d16e6
%description
e3d16e6
This is a small, lightweight Python library to aide in the manipulations of
e3d16e6
xpath expressions. It allows you to manipulate them as Python objects with
e3d16e6
Python expressions and operators.
e3d16e6
e3d16e6
%package -n     python3-%{pypi_name}
e3d16e6
Summary:        %{summary}
e3d16e6
e3d16e6
BuildRequires:  python3-devel
e3d16e6
BuildRequires:  python3-setuptools
e3d16e6
%{?python_provide:%python_provide python3-%{pypi_name}}
e3d16e6
e3d16e6
%description -n python3-%{pypi_name}
e3d16e6
This is a small, lightweight Python library to aide in the manipulations of
e3d16e6
xpath expressions. It allows you to manipulate them as Python objects with
e3d16e6
Python expressions and operators.
e3d16e6
e3d16e6
%prep
e3d16e6
%autosetup -n %{pypi_name}-%{version}
e3d16e6
rm -rf %{pypi_name}.egg-info
e3d16e6
e3d16e6
%build
e3d16e6
%py3_build
e3d16e6
e3d16e6
%install
e3d16e6
%py3_install
e3d16e6
e3d16e6
%files -n python3-%{pypi_name}
e3d16e6
%doc README.md
e3d16e6
%license LICENSE
e3d16e6
%{python3_sitelib}/xpath/
e3d16e6
%{python3_sitelib}/xpath_expressions-%{version}-py*.egg-info/
e3d16e6
e3d16e6
%changelog
e632aa3
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
e632aa3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e632aa3
e3fc0da
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 1.0.2-2
e3fc0da
- Rebuilt for Python 3.9
e3fc0da
e3d16e6
* Thu Mar 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.2-1
e3d16e6
- Add LICENSE file (rhbz#1816759)
e3d16e6
e3d16e6
* Tue Mar 24 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.1-1
e3d16e6
- Initial package for Fedora