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