mirror of
https://abf.rosa.ru/djam/python-sphinx-issues.git
synced 2025-02-24 05:52:55 +00:00
Update version to 3.0.1
This commit is contained in:
parent
5d49e62293
commit
c4a6f3cb4d
2 changed files with 16 additions and 51 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
sphinx-issues-1.2.0.tar.gz: d8a8a35cd99250aed74ecab05d7222d2138c46c7
|
||||
sphinx-issues-3.0.1.tar.gz: 82effd4306dda2b457424dbd9e4c333953e54aba
|
||||
|
|
|
@ -1,17 +1,15 @@
|
|||
%define module sphinx-issues
|
||||
%define pypi_name sphinx-issues
|
||||
|
||||
Summary: A Sphinx extension for linking to your project’s issue tracker
|
||||
Name: python-%{module}
|
||||
Version: 1.2.0
|
||||
Release: 2
|
||||
Name: python-%{pypi_name}
|
||||
Version: 3.0.1
|
||||
Release: 1
|
||||
License: BSD
|
||||
Group: Development/Python
|
||||
Url: https://github.com/sloria/sphinx-issues
|
||||
Source0: https://pypi.io/packages/source/s/%{module}/%{module}-%{version}.tar.gz
|
||||
BuildRequires: pkgconfig(python2)
|
||||
BuildRequires: pythonegg(setuptools)
|
||||
Provides: pythonegg(sphinx-issues)
|
||||
Provides: pythonegg(sphinx_issues)
|
||||
Source0: https://pypi.io/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: python3egg(setuptools)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
@ -21,40 +19,21 @@ GitHub (though this works with other services).
|
|||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
%package -n python2-%{module}
|
||||
%py2_migration_meta python2-%{module}
|
||||
Summary: A Sphinx extension for linking to your project’s issue tracke
|
||||
Group: Development/Python
|
||||
|
||||
%description -n python2-%{module}
|
||||
A Sphinx extension for linking to your project’s issue tracker. Includes roles
|
||||
for linking to issues, pull requests, user profiles, with built-in support for
|
||||
GitHub (though this works with other services).
|
||||
|
||||
%files -n python2-%{module}
|
||||
%doc python2/LICENSE python2/README.rst
|
||||
%{python2_sitelib}/*.egg-info/*
|
||||
%{python2_sitelib}/sphinx_*.py*
|
||||
%{python3_sitelib}/__pycache__/*
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
%package -n python3-%{module}
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: A Sphinx extension for linking to your project’s issue tracker
|
||||
Group: Development/Python
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: python3egg(setuptools)
|
||||
Provides: python3egg(sphinx-issues)
|
||||
Provides: python3egg(sphinx_issues)
|
||||
Provides: python3egg(sphinx-issues) = %{EVRD}
|
||||
Provides: python3dist(sphinx_issues) = %{EVRD}
|
||||
|
||||
|
||||
%description -n python3-%{module}
|
||||
%description -n python3-%{pypi_name}
|
||||
A Sphinx extension for linking to your project’s issue tracker. Includes roles
|
||||
for linking to issues, pull requests, user profiles, with built-in support for
|
||||
GitHub (though this works with other services).
|
||||
|
||||
%files -n python3-%{module}
|
||||
%doc python3/LICENSE python3/README.rst
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/*.egg-info/*
|
||||
%{python3_sitelib}/sphinx_*.py*
|
||||
%{python3_sitelib}/__pycache__/*
|
||||
|
@ -62,24 +41,10 @@ GitHub (though this works with other services).
|
|||
#----------------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
%setup -qc -n %{module}-%{version}
|
||||
mv %{module}-%{version} python2
|
||||
cp -r python2 python3
|
||||
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||
|
||||
%build
|
||||
pushd python2
|
||||
%py2_build
|
||||
popd
|
||||
|
||||
pushd python3
|
||||
%py3_build
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd python3
|
||||
%py3_install
|
||||
popd
|
||||
|
||||
pushd python2
|
||||
%py2_install
|
||||
popd
|
||||
|
|
Loading…
Add table
Reference in a new issue