From a05a1b34ed36970956614dae572e675c3c978033f6153c890e6366eeaa38e776 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 23 Mar 2017 16:57:47 +0000 Subject: [PATCH] Accepting request 482326 from home:kstreitova:branches:Archiving - cleanup with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/482326 OBS-URL: https://build.opensuse.org/package/show/Archiving/bzip2?expand=0&rev=59 --- bzip2.changes | 5 +++++ bzip2.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/bzip2.changes b/bzip2.changes index 374dda7..3ad4cc3 100644 --- a/bzip2.changes +++ b/bzip2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 23 15:14:20 UTC 2017 - kstreitova@suse.com + +- cleanup with spec-cleaner + ------------------------------------------------------------------- Thu Mar 24 15:44:52 UTC 2016 - kstreitova@suse.com diff --git a/bzip2.spec b/bzip2.spec index fa80637..9db72c8 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -1,7 +1,7 @@ # # spec file for package bzip2 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -39,7 +39,7 @@ Patch4: bzip2-ocloexec.patch Patch5: bzip2-1.0.6-bzgrep_return_value.patch BuildRequires: autoconf >= 2.57 BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig # The following is a kludge to get updating bzip2 to after the split work PreReq: %{libname} Provides: bzip = %{version} @@ -52,7 +52,7 @@ The bzip2 program is a very powerful program for compressing files. %package doc Summary: The bzip2 program and Library Documentation Group: Productivity/Archiving/Compression -%if %suse_version > 1130 +%if 0%{?suse_version} > 1130 BuildArch: noarch %endif @@ -104,7 +104,6 @@ ln -s libbz2.so.1 %{buildroot}/%{_libdir}/libbz2.so.1.0 find %{buildroot} -type f -name "*.la" -delete -print %post -n %{libname} -p /sbin/ldconfig - %postun -n %{libname} -p /sbin/ldconfig %check @@ -112,7 +111,7 @@ make %{?_smp_mflags} test %files %defattr(-,root,root) -%doc %{_mandir}/man1/* +%{_mandir}/man1/* %{_bindir}/* %files doc