Группа :: Development/Python3
Пакет: python3-module-django-classy-tags
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname django-classy-tags
Name: python3-module-%oname
Version: 2.0.0
Release: alt1.1
Summary: Class based template tags for Django
License: BSD
Group: Development/Python3
Url: http://pypi.python.org/pypi/django-classy-tags/
BuildArch: noarch
# https://pypi.org/project/django-classy-tags/#files
Source: %oname-%version.tar.gz
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel python3-module-setuptools
%description
Class based template tags for Django.
%package tests
Summary: tests for Django classytags
Group: Development/Python3
Requires: %name = %version-%release
%add_python3_self_prov_path %buildroot%python3_sitelibdir/classytags/tests
%description tests
Class based template tags for Django.
This package contains tests for Django classytags.
%prep
%setup -q -n %oname-%version
%build
%python3_build
%install
%python3_install
mv %buildroot%python3_sitelibdir/tests %buildroot%python3_sitelibdir/classytags/
%files
%python3_sitelibdir/*
%exclude %python3_sitelibdir/classytags/tests
%files tests
%python3_sitelibdir/classytags/tests
%changelog
…
Полный changelog можно просмотреть здесь
%define oname django-classy-tags
Name: python3-module-%oname
Version: 2.0.0
Release: alt1.1
Summary: Class based template tags for Django
License: BSD
Group: Development/Python3
Url: http://pypi.python.org/pypi/django-classy-tags/
BuildArch: noarch
# https://pypi.org/project/django-classy-tags/#files
Source: %oname-%version.tar.gz
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel python3-module-setuptools
%description
Class based template tags for Django.
%package tests
Summary: tests for Django classytags
Group: Development/Python3
Requires: %name = %version-%release
%add_python3_self_prov_path %buildroot%python3_sitelibdir/classytags/tests
%description tests
Class based template tags for Django.
This package contains tests for Django classytags.
%prep
%setup -q -n %oname-%version
%build
%python3_build
%install
%python3_install
mv %buildroot%python3_sitelibdir/tests %buildroot%python3_sitelibdir/classytags/
%files
%python3_sitelibdir/*
%exclude %python3_sitelibdir/classytags/tests
%files tests
%python3_sitelibdir/classytags/tests
%changelog
…
Полный changelog можно просмотреть здесь