Group :: Development/Python3
RPM: python3-module-gocept.loginuser
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define mname gocept
%define oname %mname.loginuser
Name: python3-module-%oname
Version: 3.0
Release: alt1
Summary: Sqlalchemy user object and password management
License: ZPLv2.1
Group: Development/Python3
Url: https://pypi.python.org/pypi/gocept.loginuser/
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.4
BuildRequires(pre): rpm-build-python3
%description
Sqlalchemy user object and password management.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
Sqlalchemy user object and password management.
This package contains tests for %oname.
%prep
%setup
%build
%python3_build_debug
%install
%python3_install
%python3_prune
%if "%_libexecdir" != "%_libdir"
mv %buildroot%_libexecdir %buildroot%_libdir
%endif
%check
%__python3 setup.py test
%files
%doc *.txt doc/*.txt
%python3_sitelibdir/%mname/*
%python3_sitelibdir/*.egg-info
%changelog
…
Todas as alterações você pod ver aqui
%define oname %mname.loginuser
Name: python3-module-%oname
Version: 3.0
Release: alt1
Summary: Sqlalchemy user object and password management
License: ZPLv2.1
Group: Development/Python3
Url: https://pypi.python.org/pypi/gocept.loginuser/
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.4
BuildRequires(pre): rpm-build-python3
%description
Sqlalchemy user object and password management.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
Sqlalchemy user object and password management.
This package contains tests for %oname.
%prep
%setup
%build
%python3_build_debug
%install
%python3_install
%python3_prune
%if "%_libexecdir" != "%_libdir"
mv %buildroot%_libexecdir %buildroot%_libdir
%endif
%check
%__python3 setup.py test
%files
%doc *.txt doc/*.txt
%python3_sitelibdir/%mname/*
%python3_sitelibdir/*.egg-info
%changelog
…
Todas as alterações você pod ver aqui