Update to 3.0.8 (rhbz#1459712)

epel9
Scott K Logan 6 years ago
parent c01a1bbb7e
commit 4fa0b65780

1
.gitignore vendored

@ -1,2 +1,3 @@
/filelock-fde6c13.tar.gz /filelock-fde6c13.tar.gz
/filelock-252a308.tar.gz /filelock-252a308.tar.gz
/python-filelock-0980867.tar.gz

@ -1,17 +1,17 @@
%global commit 252a308f2844f16f9ad77fd5a4e9da4c3f5f4c3c %global commit 0980867d17db4a3e1b20d588b680582cbbf7e778
%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortcommit %(c=%{commit}; echo ${c:0:7})
%global srcname filelock %global srcname filelock
%global sum A platform independent file lock %global sum A platform independent file lock
Name: python-%{srcname} Name: python-%{srcname}
Version: 2.0.8 Version: 3.0.8
Release: 7%{?dist} Release: 1%{?dist}
Summary: %{sum} Summary: %{sum}
Group: Development/Libraries Group: Development/Libraries
License: Unlicense License: Unlicense
URL: https://github.com/benediktschmitt/py-%{srcname} URL: https://github.com/benediktschmitt/py-%{srcname}
Source0: https://github.com/benediktschmitt/py-%{srcname}/archive/%{commit}.tar.gz#/%{srcname}-%{shortcommit}.tar.gz Source0: https://github.com/benediktschmitt/py-%{srcname}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -26,9 +26,6 @@ the same lock object twice, it will not block.
Summary: Documentation for %{srcname}, %{sum} Summary: Documentation for %{srcname}, %{sum}
BuildRequires: python2-sphinx BuildRequires: python2-sphinx
BuildRequires: python2-sphinx_rtd_theme BuildRequires: python2-sphinx_rtd_theme
Requires: fontawesome-fonts
Requires: google-roboto-slab-fonts
Requires: lato-fonts
%description doc %description doc
Documentation for %{srcname}, %{sum} Documentation for %{srcname}, %{sum}
@ -62,25 +59,15 @@ the same lock object twice, it will not block.
%prep %prep
%autosetup -n py-%{srcname}-%{commit} %autosetup -n py-%{srcname}-%{commit}
sed -i '1{\@^#!/usr/bin/python@d}' %{srcname}.py sed -i '1{s|^#!\(/usr/bin/\(env \)\?\)\?python||}' %{srcname}.py
%build %build
%py2_build %py2_build
%py3_build %py3_build
make -C docs html man make -C docs html man SPHINXBUILD=sphinx-build-2
rm docs/build/html/.buildinfo rm docs/build/html/.buildinfo
# Unbundle fonts
ln -sf %{_datadir}/fonts/fontawesome/fontawesome-webfont.eot docs/build/html/_static/fonts/fontawesome-webfont.eot
ln -sf %{_datadir}/fonts/fontawesome/fontawesome-webfont.svg docs/build/html/_static/fonts/fontawesome-webfont.svg
ln -sf %{_datadir}/fonts/fontawesome/fontawesome-webfont.ttf docs/build/html/_static/fonts/fontawesome-webfont.ttf
ln -sf %{_datadir}/fonts/fontawesome/fontawesome-webfont.woff docs/build/html/_static/fonts/fontawesome-webfont.woff
ln -sf %{_datadir}/fonts/google-roboto-slab/RobotoSlab-Bold.ttf docs/build/html/_static/fonts/RobotoSlab-Bold.ttf
ln -sf %{_datadir}/fonts/google-roboto-slab/RobotoSlab-Regular.ttf docs/build/html/_static/fonts/RobotoSlab-Regular.ttf
ln -sf %{_datadir}/fonts/lato/Lato-Bold.ttf docs/build/html/_static/fonts/Lato-Bold.ttf
ln -sf %{_datadir}/fonts/lato/Lato-Regular.ttf docs/build/html/_static/fonts/Lato-Regular.ttf
%install %install
%py2_install %py2_install
%py3_install %py3_install
@ -112,6 +99,9 @@ install -p -m0644 -D docs/build/man/py-%{srcname}.1 %{buildroot}%{_mandir}/man1/
%{python3_sitelib}/__pycache__/%{srcname}*.py[co] %{python3_sitelib}/__pycache__/%{srcname}*.py[co]
%changelog %changelog
* Fri Sep 14 2018 Scott K Logan <logans@cottsay.net> - 3.0.8-1
- Update to 3.0.8 (rhbz#1459712)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.8-7 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

@ -1 +1 @@
SHA512 (filelock-252a308.tar.gz) = ef33a9ed159f9161feec773aeae0df87bce8e5eb89e70e0b930f60d77e0cbcbebd02ab1abe9563aac4b9eed8af9f2a236b075d734d73f6e7b5c8864095063a4c SHA512 (python-filelock-0980867.tar.gz) = bfaca9b50c27f392920c99f217f6a17688c43ca1f407a985365435fd35573b6d935dc09b7905d9272b5142b26cdc54e220d9b5d99b019da65033b81d179af7a5

Loading…
Cancel
Save