Build and distribute man page for pybabel
Resolves: #1611174 Signed-off-by: Nils Philippsen <nils@tiptoe.de>
This commit is contained in:
parent
64f54fc69d
commit
c788236454
16
babel.spec
16
babel.spec
@ -8,7 +8,7 @@
|
||||
|
||||
Name: babel
|
||||
Version: 2.10.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Tools for internationalizing Python applications
|
||||
|
||||
License: BSD
|
||||
@ -20,6 +20,7 @@ BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
%if !%{with bootstrap}
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: python3-pytz
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-freezegun
|
||||
@ -86,7 +87,7 @@ pushd docs
|
||||
make \
|
||||
SPHINXBUILD=sphinx-build-3 \
|
||||
BUILDDIR="$BUILDDIR" \
|
||||
html
|
||||
html man
|
||||
popd
|
||||
rm -f "$BUILDDIR/html/.buildinfo"
|
||||
%endif
|
||||
@ -94,6 +95,10 @@ rm -f "$BUILDDIR/html/.buildinfo"
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%if !%{with bootstrap}
|
||||
install -D -m 0644 built-docs/man/babel.1 %{buildroot}%{_mandir}/man1/pybabel.1
|
||||
%endif
|
||||
|
||||
%check
|
||||
export TZ=UTC
|
||||
%if !%{with bootstrap}
|
||||
@ -105,6 +110,10 @@ export TZ=UTC
|
||||
%license LICENSE
|
||||
%{_bindir}/pybabel
|
||||
|
||||
%if !%{with bootstrap}
|
||||
%{_mandir}/man1/pybabel.1*
|
||||
%endif
|
||||
|
||||
%files -n python3-babel
|
||||
%{python3_sitelib}/Babel-%{version}-py*.egg-info/
|
||||
%{python3_sitelib}/babel/
|
||||
@ -115,6 +124,9 @@ export TZ=UTC
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon May 16 2022 Nils Philippsen <nils@redhat.com> - 2.10.1-2
|
||||
- Build and distribute man page for pybabel (#1611174)
|
||||
|
||||
* Fri Apr 22 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 2.10.1-1
|
||||
- update to 2.10.1
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user