Group :: Development/Python3
RPM: python3-module-pycerberus
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname pycerberus
Name: python3-module-%oname
Version: 0.6
Release: alt2
Summary: Highly flexible, no magic input validation library
License: MIT
Group: Development/Python3
Url: http://pypi.python.org/pypi/pycerberus
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%description
pycerberus is a framework to check user data thoroughly so that you can
protect your application from malicious (or just garbled) input data.
%package tests
Summary: Tests for pycerberus
Group: Development/Python3
Requires: %name = %version-%release
%description tests
pycerberus is a framework to check user data thoroughly so that you can
protect your application from malicious (or just garbled) input data.
This package contains tests for pycerberus.
%prep
%setup
%build
%python3_build
%install
%python3_install
%files
%doc *.txt docs/html
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/test*
%exclude %python3_sitelibdir/*/__pycache__/test*
%files tests
%python3_sitelibdir/*/test*
%python3_sitelibdir/*/__pycache__/test*
%changelog
…
Todas as alterações você pod ver aqui
Name: python3-module-%oname
Version: 0.6
Release: alt2
Summary: Highly flexible, no magic input validation library
License: MIT
Group: Development/Python3
Url: http://pypi.python.org/pypi/pycerberus
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%description
pycerberus is a framework to check user data thoroughly so that you can
protect your application from malicious (or just garbled) input data.
%package tests
Summary: Tests for pycerberus
Group: Development/Python3
Requires: %name = %version-%release
%description tests
pycerberus is a framework to check user data thoroughly so that you can
protect your application from malicious (or just garbled) input data.
This package contains tests for pycerberus.
%prep
%setup
%build
%python3_build
%install
%python3_install
%files
%doc *.txt docs/html
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/test*
%exclude %python3_sitelibdir/*/__pycache__/test*
%files tests
%python3_sitelibdir/*/test*
%python3_sitelibdir/*/__pycache__/test*
%changelog
…
Todas as alterações você pod ver aqui