From f0dfd8e91e011f5ec4b9f5858d79b2e8d6e68a16 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Sep 19 2019 13:18:58 +0000 Subject: Initial import (#1752859) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f20be6f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/lazr.uri-*.tar.gz +/lazr.uri-*/ +/results_*/ +*.rpm diff --git a/python-lazr-uri.spec b/python-lazr-uri.spec new file mode 100644 index 0000000..2fdbf9c --- /dev/null +++ b/python-lazr-uri.spec @@ -0,0 +1,48 @@ +%global pypi_name lazr.uri +Name: python-lazr-uri +Version: 1.0.3 +Release: 1%{?dist} +Summary: Parsing and dealing with URIs + +License: LGPLv3 +URL: https://launchpad.net/lazr.uri +Source0: %{pypi_source} +BuildArch: noarch + +%global _description %{expand: +The lazr.uri package includes code for parsing and dealing with URIs.} + +%description %_description + +%package -n python3-lazr-uri +Summary: %{summary} +%{?python_provide:%python_provide python3-lazr-uri} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description -n python3-lazr-uri %_description + + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files -n python3-lazr-uri +%license COPYING.txt +%doc README.txt +%{python3_sitelib}/lazr/ +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}-*.pth +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ + +%changelog +* Tue Sep 17 2019 Miro Hrončok - 1.0.3-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..8a20eef --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (lazr.uri-1.0.3.tar.gz) = 10c66af36a1ca007125c0aeb48c1e61043ecba3cdf70729aae956e2ac3460b3b8c13d1a99e0510a70d99b758210d30068828a3ac367d75f6ac73e8694d9df05e