Fix pbunzip2 and pbzcat command not available
(cherry picked from commit fbd3a84c94232a0179ef7e2c1f1cb6747b843142)
This commit is contained in:
parent
918d4e5fbc
commit
ab54f37751
15
pbzip2.spec
15
pbzip2.spec
@ -1,6 +1,6 @@
|
|||||||
Name: pbzip2
|
Name: pbzip2
|
||||||
Version: 1.1.12
|
Version: 1.1.12
|
||||||
Release: 11
|
Release: 12
|
||||||
Summary: Parallel implementation of the bzip2 block-sorting file compressor
|
Summary: Parallel implementation of the bzip2 block-sorting file compressor
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.compression.ca/pbzip2/
|
URL: http://www.compression.ca/pbzip2/
|
||||||
@ -27,12 +27,10 @@ f=AUTHORS; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 && mv $f.utf8 $f
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd %{buildroot}
|
install -D -m755 %{name} %{buildroot}%{_bindir}/%{name}
|
||||||
install -D -m755 %{_builddir}/pbzip2-%{version}/pbzip2 .%{_bindir}/pbzip2
|
install -D -m644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||||
install -D -m644 %{_builddir}/pbzip2-%{version}/pbzip2.1 .%{_mandir}/man1/pbzip2.1
|
ln -sf ./%{name} %{buildroot}%{_bindir}/pbunzip2
|
||||||
ln -sf %{_builddir}/pbzip2-%{version}/pbzip2 .%{_bindir}/pbunzip2
|
ln -sf ./%{name} %{buildroot}%{_bindir}/pbzcat
|
||||||
ln -sf %{_builddir}/pbzip2-%{version}/pbzip2 .%{_bindir}/pbzcat
|
|
||||||
popd
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -46,6 +44,9 @@ popd
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 02 2024 yaoxin <yao_xin001@hoperun.com> - 1.1.12-12
|
||||||
|
- Fix pbunzip2 and pbzcat command not available
|
||||||
|
|
||||||
* Thu Nov 10 2022 liyanan <liyanan32@h-partners.com> - 1.1.12-11
|
* Thu Nov 10 2022 liyanan <liyanan32@h-partners.com> - 1.1.12-11
|
||||||
- Change source
|
- Change source
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user