diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4eb65d5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/django-cache-url-3.0.0.tar.gz diff --git a/python-django-cache-url.spec b/python-django-cache-url.spec new file mode 100644 index 0000000..7af06dd --- /dev/null +++ b/python-django-cache-url.spec @@ -0,0 +1,51 @@ +%global pypi_name django-cache-url + +Name: python-%{pypi_name} +Version: 3.0.0 +Release: 2%{?dist} +Summary: Use Cache URLs in your Django application + +License: MIT +URL: http://github.com/ghickman/django-cache-url +Source0: %{pypi_source} +BuildArch: noarch + +%description +This simple Django utility allows you to utilize the 12factor inspired +CACHE_URL environment variable to configure your Django application. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +This simple Django utility allows you to utilize the 12factor inspired +CACHE_URL environment variable to configure your Django application. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/django_cache_url.py +%{python3_sitelib}/django_cache_url-%{version}-py*.egg-info + +%changelog +* Tue Jan 07 2020 Fabian Affolter - 3.0.0-2 +- Use var for source URL +- Better use of wildcards (rhbz#1786871) + +* Sat Dec 28 2019 Fabian Affolter - 3.0.0-1 +- Initial package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..d679e01 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (django-cache-url-3.0.0.tar.gz) = 58d09f45339e61ee9c5fe2d2b0e8875e22d826d6a03632fe5ff428793cc5feace504b74de7f95f62ecff42cef467cd83283c64239a7edaf611d6d90165a71f85