Skip to content

Commit

Permalink
Merge pull request #1 from sailfishos/jb62167
Browse files Browse the repository at this point in the history
[gzip] Update to version 1.13. JB#62167
  • Loading branch information
mlehtima committed Jun 4, 2024
2 parents bc5ebc1 + 0fe1a4b commit f538c7c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 87 deletions.
15 changes: 3 additions & 12 deletions gnu-gzip.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%global gzipver 1.10
%global gzipver 1.13

Name: gnu-gzip
Summary: The GNU data compression program
Expand All @@ -7,7 +7,6 @@ Release: 1
License: GPLv3+ and GFDL
URL: http://www.gzip.org/
Source0: gzip-%{gzipver}.tar.xz
Patch1: gzexe.patch
Requires: /bin/mktemp
Provides: gzip = 1.9+git1
Obsoletes: gzip < 1.9+git1
Expand All @@ -19,7 +18,6 @@ program. Gzipped files have a .gz extension.
Gzip should be installed on your system, because it is a
very commonly used data compression program.


%package -n zless
Summary: file perusal filter for crt viewing of compressed text
Requires: %{name} = %{version}-%{release}
Expand All @@ -32,7 +30,6 @@ environment variable LESSOPEN to '|gzip -cdfq -- %s', and the environment variab
LESSMETACHARS to and then running less. However, enough people seem to think that
having the command zless available is important to be worth providing it.


%package doc
Summary: Documentation for %{name}
BuildArch: noarch
Expand All @@ -42,21 +39,18 @@ Obsoletes: %{name}-docs
%description doc
Man and info pages for %{name}.


%prep
%autosetup -p1 -n gzip-%{gzipver}

%build
export CPPFLAGS="-DHAVE_LSTAT"

# Skip test for 'less' to get zless installed
%reconfigure --disable-static \
--bindir=/bin
--bindir=/bin LESS=yes

%make_build


%install
rm -rf %{buildroot}
%make_install

mkdir -p %{buildroot}%{_bindir}
Expand All @@ -77,7 +71,6 @@ install -m0644 -t %{buildroot}/%{_docdir}/%{name}-%{version} \
AUTHORS ChangeLog ChangeLog-2007 NEWS README THANKS TODO

%files
%defattr(-,root,root,-)
%license COPYING
/bin/*
%{_bindir}/gzip
Expand All @@ -93,11 +86,9 @@ install -m0644 -t %{buildroot}/%{_docdir}/%{name}-%{version} \
%{_bindir}/zmore

%files -n zless
%defattr(-,root,root,-)
%{_bindir}/zless

%files doc
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}
%{_mandir}/man1/*
%{_infodir}/gzip.info.gz
75 changes: 0 additions & 75 deletions gzexe.patch

This file was deleted.

Binary file removed gzip-1.10.tar.xz
Binary file not shown.
Binary file added gzip-1.13.tar.xz
Binary file not shown.

0 comments on commit f538c7c

Please sign in to comment.