| |
@@ -1,6 +1,6 @@
|
| |
Name: httpie
|
| |
Version: 3.2.0
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
Summary: A Curl-like tool for humans
|
| |
|
| |
License: BSD
|
| |
@@ -12,8 +12,6 @@
|
| |
BuildRequires: python3-devel
|
| |
BuildRequires: pyproject-rpm-macros
|
| |
|
| |
- BuildRequires: help2man
|
| |
-
|
| |
%description
|
| |
HTTPie is a CLI HTTP utility built out of frustration with existing tools. The
|
| |
goal is to make CLI interaction with HTTP-based services as human-friendly as
|
| |
@@ -50,13 +48,9 @@
|
| |
cp -a extras/httpie-completion.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/http.fish
|
| |
ln -s ./http.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/https.fish
|
| |
|
| |
-
|
| |
- # Generate man pages for everything
|
| |
- export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
| |
+ # Man pages
|
| |
mkdir -p %{buildroot}%{_mandir}/man1
|
| |
- help2man %{buildroot}%{_bindir}/http > %{buildroot}%{_mandir}/man1/http.1
|
| |
- help2man %{buildroot}%{_bindir}/https > %{buildroot}%{_mandir}/man1/https.1
|
| |
- help2man %{buildroot}%{_bindir}/httpie > %{buildroot}%{_mandir}/man1/httpie.1
|
| |
+ cp -a extras/man/*.1 %{buildroot}%{_mandir}/man1/
|
| |
|
| |
|
| |
%check
|
| |
@@ -78,6 +72,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Thu May 05 2022 Miro Hrončok <mhroncok@redhat.com> - 3.2.0-2
|
| |
+ - Install upstream manual pages instead of generating them
|
| |
+
|
| |
* Thu May 05 2022 Miro Hrončok <mhroncok@redhat.com> - 3.2.0-1
|
| |
- Update to 3.2.0
|
| |
- Fixes: rhbz#2082364
|
| |