Compare commits

..

4 Commits

Author SHA1 Message Date
Javier Pena 5a01928f9f Fixed Source0 URL (bz#1526646) 2017-12-18 12:57:35 +01:00
Javier Pena cfdd3a4aa7 Updated to latest git commit to fix build in Rawhide 2017-10-13 16:13:09 +02:00
Troy Dawson 5c2648dfa6 Cleanup spec file conditionals 2017-10-11 13:09:57 -07:00
Fedora Release Engineering adb8e4e7f6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 11:55:26 +00:00
3 changed files with 27 additions and 11 deletions
+2
View File
@@ -1 +1,3 @@
/sphinxcontrib-websupport-1.0.1.tar.gz
/sphinxcontrib-websupport-1.0.1.dev20171013.tar.gz
/88d4fdd163efdeaab91a105b7980c42078ed3417.tar.gz
+24 -10
View File
@@ -1,17 +1,19 @@
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} > 7
%global with_python3 1
%endif
%global commit 88d4fdd163efdeaab91a105b7980c42078ed3417
%global pypi_name sphinxcontrib-websupport
Name: python-%{pypi_name}
Version: 1.0.1
Release: 1%{?dist}
Release: 5.20171013git%{?dist}
Summary: Sphinx API for Web Apps
License: BSD
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
Source0: https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/%{commit}.tar.gz
BuildArch: noarch
%description
@@ -71,7 +73,7 @@ documentation into your Web application.
%endif
%prep
%autosetup -n %{pypi_name}-%{version}
%autosetup -n %{pypi_name}-%{commit}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
@@ -88,28 +90,40 @@ rm -rf %{pypi_name}.egg-info
%py2_install
%check
py.test tests/
PYTHONPATH=. py.test tests/
%if 0%{?with_python3}
py.test-3 tests/
PYTHONPATH=. py.test-3 tests/
%endif
%files -n python2-%{pypi_name}
%license LICENSE
%doc README.rst
%{python2_sitelib}/sphinxcontrib/websupport
%{python2_sitelib}/sphinxcontrib_websupport-%{version}-py?.?-*.pth
%{python2_sitelib}/sphinxcontrib_websupport-%{version}-py?.?.egg-info
%{python2_sitelib}/sphinxcontrib_websupport-*.pth
%{python2_sitelib}/sphinxcontrib_websupport-*.egg-info
%if 0%{?with_python3}
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/sphinxcontrib/websupport
%{python3_sitelib}/sphinxcontrib_websupport-%{version}-py?.?-*.pth
%{python3_sitelib}/sphinxcontrib_websupport-%{version}-py?.?.egg-info
%{python3_sitelib}/sphinxcontrib_websupport-*.pth
%{python3_sitelib}/sphinxcontrib_websupport-*.egg-info
%endif
%changelog
* Mon Dec 18 2017 Javier Peña <jpena@redhat.com> - 1.0.1-5.20171013git
- Fixed Source0 URL (bz#1526646)
* 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
- Cleanup spec file conditionals
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Jun 30 2017 Javier Peña <jpena@redhat.com> - 1.0.1-1
- Initial package.
+1 -1
View File
@@ -1 +1 @@
SHA512 (sphinxcontrib-websupport-1.0.1.tar.gz) = 67807b2505e063639163b020f0e62469b0c2838c303516cce9a8d90181cc7b8a10d76532adb1267556d40f95966efc20ec9f8ee1a6731056bda827a6f97f40ec
SHA512 (88d4fdd163efdeaab91a105b7980c42078ed3417.tar.gz) = fd9591796d8071090c03a341b1e454bf27b57bb5289b33eddc5e5f993808d39fb2a31b8eb608d9f7a30077f8ebdc97e02fdd9ab163b5dce0f9560fb962fb5c35