Undo unwanted whitespace changes
Igor, please stop changing other people's packages. Thanks.
This commit is contained in:
parent
0c05c849f8
commit
acaf85717e
@ -19,14 +19,15 @@ BuildRequires: (libgit2-devel >= 0.28.0 with libgit2-devel < 0.29.0)
|
||||
pygit2 is a set of Python bindings to the libgit2 library, which implements
|
||||
the core of Git.
|
||||
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: Python 3.x bindings for libgit2
|
||||
%{?python_provide:%python_provide python3-%{pkgname}}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-cffi
|
||||
BuildRequires: python3-six
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-six
|
||||
|
||||
%description -n python3-%{pkgname}
|
||||
pygit2 is a set of Python bindings to the libgit2 library, which implements
|
||||
@ -34,6 +35,7 @@ the core of Git.
|
||||
|
||||
Python 3 version.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
BuildArch: noarch
|
||||
@ -42,17 +44,22 @@ BuildRequires: /usr/bin/sphinx-build
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkgname}-%{version} -p1
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
make -C docs html
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
find %{_builddir} -name '.buildinfo' -print -delete
|
||||
|
||||
|
||||
%check
|
||||
# This is horrible, but otherwise pytest does not use pygit2 from site-packages
|
||||
rm -f pygit2/__init__.py
|
||||
@ -62,6 +69,7 @@ rm -f pygit2/__init__.py
|
||||
PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-%{python3_version} -v
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%doc README.rst TODO.txt
|
||||
%license COPYING
|
||||
@ -73,6 +81,7 @@ rm -f pygit2/__init__.py
|
||||
%license COPYING
|
||||
%doc docs/_build/html/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jun 06 14:32:34 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.2-1
|
||||
- Update to 0.28.2
|
||||
|
Loading…
Reference in New Issue
Block a user