Updated to latest git commit to fix build in Rawhide

This commit is contained in:
Javier Pena 2017-10-13 16:13:09 +02:00
parent 5c2648dfa6
commit cfdd3a4aa7
3 changed files with 15 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/sphinxcontrib-websupport-1.0.1.tar.gz /sphinxcontrib-websupport-1.0.1.tar.gz
/sphinxcontrib-websupport-1.0.1.dev20171013.tar.gz

View File

@ -2,16 +2,17 @@
%global with_python3 1 %global with_python3 1
%endif %endif
%global commit dev20171013
%global pypi_name sphinxcontrib-websupport %global pypi_name sphinxcontrib-websupport
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 1.0.1 Version: 1.0.1
Release: 3%{?dist} Release: 4.20171013git%{?dist}
Summary: Sphinx API for Web Apps Summary: Sphinx API for Web Apps
License: BSD License: BSD
URL: http://sphinx-doc.org/ URL: http://sphinx-doc.org/
Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.%{commit}.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
@ -71,7 +72,7 @@ documentation into your Web application.
%endif %endif
%prep %prep
%autosetup -n %{pypi_name}-%{version} %autosetup -n %{pypi_name}-%{version}.%{commit}
# Remove bundled egg-info # Remove bundled egg-info
rm -rf %{pypi_name}.egg-info rm -rf %{pypi_name}.egg-info
@ -88,28 +89,31 @@ rm -rf %{pypi_name}.egg-info
%py2_install %py2_install
%check %check
py.test tests/ PYTHONPATH=. py.test tests/
%if 0%{?with_python3} %if 0%{?with_python3}
py.test-3 tests/ PYTHONPATH=. py.test-3 tests/
%endif %endif
%files -n python2-%{pypi_name} %files -n python2-%{pypi_name}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python2_sitelib}/sphinxcontrib/websupport %{python2_sitelib}/sphinxcontrib/websupport
%{python2_sitelib}/sphinxcontrib_websupport-%{version}-py?.?-*.pth %{python2_sitelib}/sphinxcontrib_websupport-*.pth
%{python2_sitelib}/sphinxcontrib_websupport-%{version}-py?.?.egg-info %{python2_sitelib}/sphinxcontrib_websupport-*.egg-info
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-%{pypi_name} %files -n python3-%{pypi_name}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python3_sitelib}/sphinxcontrib/websupport %{python3_sitelib}/sphinxcontrib/websupport
%{python3_sitelib}/sphinxcontrib_websupport-%{version}-py?.?-*.pth %{python3_sitelib}/sphinxcontrib_websupport-*.pth
%{python3_sitelib}/sphinxcontrib_websupport-%{version}-py?.?.egg-info %{python3_sitelib}/sphinxcontrib_websupport-*.egg-info
%endif %endif
%changelog %changelog
* Fri Oct 13 2017 Javier Peña <jpena@redhat.com> - 1.0.1-4.20171013git
- Updated to latest git commit to fix build in Rawhide
* Wed Oct 11 2017 Troy Dawson <tdawson@redhat.com> - 1.0.1-3 * Wed Oct 11 2017 Troy Dawson <tdawson@redhat.com> - 1.0.1-3
- Cleanup spec file conditionals - Cleanup spec file conditionals

View File

@ -1 +1 @@
SHA512 (sphinxcontrib-websupport-1.0.1.tar.gz) = 67807b2505e063639163b020f0e62469b0c2838c303516cce9a8d90181cc7b8a10d76532adb1267556d40f95966efc20ec9f8ee1a6731056bda827a6f97f40ec SHA512 (sphinxcontrib-websupport-1.0.1.dev20171013.tar.gz) = ad34f24edb09a9cb64a5368e780c727625b37e2dc5988c72bcfb1d49d14071089d9f59cc857e195f2ab60a971ec6ed66d7f405b606731d1f51c776cc079efae4