Accepting request 631047 from Archiving

OBS-URL: https://build.opensuse.org/request/show/631047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bzip2?expand=0&rev=61
This commit is contained in:
Dominique Leuenberger 2018-09-03 08:32:19 +00:00 committed by Git OBS Bridge
commit 8a791a6ffb
2 changed files with 22 additions and 18 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Aug 21 11:28:34 UTC 2018 - christophe@krop.fr
- Replace the URL. The bzip.org owner changed.
- Remove the URL from the 'Source' line. The 1.0.6 version is not
available.
- Run spec-cleaner.
-------------------------------------------------------------------
Wed Feb 28 11:23:11 UTC 2018 - tchvatal@suse.com

View File

@ -23,8 +23,8 @@ Release: 0
Summary: A Program for Compressing Files
License: BSD-3-Clause
Group: Productivity/Archiving/Compression
Url: http://www.bzip.org/
Source: http://www.bzip.org/1.0.6/bzip2-%{version}.tar.gz
URL: https://sourceware.org/bzip2
Source: %{name}-%{version}.tar.gz
Source1: bznew.gz
Source2: bznew.1.gz
Source3: baselibs.conf
@ -35,7 +35,7 @@ Patch1: bzip2-1.0.6-fix-bashisms.patch
Patch2: bzip2-unsafe_strcpy.patch
Patch3: bzip2-point-to-doc-pkg.patch
Patch4: bzip2-ocloexec.patch
# PATCH-FIX-UPSTREAM bnc#970260 kstreitova@suse.com -- fix a wrong exit code when grepping multiple archives
# PATCH-FIX-UPSTREAM bnc#970260 kstreitova@suse.com -- fix a wrong exit code when grepping multiple archives
Patch5: bzip2-1.0.6-bzgrep_return_value.patch
BuildRequires: autoconf >= 2.57
BuildRequires: libtool
@ -115,7 +115,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
make %{?_smp_mflags} test
%files
%defattr(-,root,root)
%{_bindir}/bunzip2
%{_bindir}/bzcat
%{_bindir}/bzcmp
@ -128,28 +127,25 @@ make %{?_smp_mflags} test
%{_bindir}/bzless
%{_bindir}/bzmore
%{_bindir}/bznew
%{_mandir}/man1/bunzip2.1%{ext_man}
%{_mandir}/man1/bzcat.1%{ext_man}
%{_mandir}/man1/bzcmp.1%{ext_man}
%{_mandir}/man1/bzdiff.1%{ext_man}
%{_mandir}/man1/bzegrep.1%{ext_man}
%{_mandir}/man1/bzfgrep.1%{ext_man}
%{_mandir}/man1/bzgrep.1%{ext_man}
%{_mandir}/man1/bzip2.1%{ext_man}
%{_mandir}/man1/bzless.1%{ext_man}
%{_mandir}/man1/bzmore.1%{ext_man}
%{_mandir}/man1/bznew.1%{ext_man}
%{_mandir}/man1/bunzip2.1%{?ext_man}
%{_mandir}/man1/bzcat.1%{?ext_man}
%{_mandir}/man1/bzcmp.1%{?ext_man}
%{_mandir}/man1/bzdiff.1%{?ext_man}
%{_mandir}/man1/bzegrep.1%{?ext_man}
%{_mandir}/man1/bzfgrep.1%{?ext_man}
%{_mandir}/man1/bzgrep.1%{?ext_man}
%{_mandir}/man1/bzip2.1%{?ext_man}
%{_mandir}/man1/bzless.1%{?ext_man}
%{_mandir}/man1/bzmore.1%{?ext_man}
%{_mandir}/man1/bznew.1%{?ext_man}
%files doc
%defattr(-,root,root)
%doc manual.ps.gz manual*.html bzip2.txt manual.pdf
%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/libbz2.so.*
%files -n libbz2-devel
%defattr(-,root,root)
%license LICENSE
%doc CHANGES
%{_includedir}/bzlib.h