Accepting request 251758 from Archiving

- Drop gpg-offline build-time requirement

OBS-URL: https://build.opensuse.org/request/show/251758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clzip?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2014-09-26 08:51:58 +00:00 committed by Git OBS Bridge
commit 87fa32410b
2 changed files with 21 additions and 20 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 23 16:55:53 UTC 2014 - jengelh@inai.de
- Drop gpg-offline build-time requirement; this is now handled by
the local source validator
-------------------------------------------------------------------
Wed Oct 2 01:08:32 UTC 2013 - jengelh@inai.de

View File

@ -2,7 +2,7 @@
#
# spec file for package clzip
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011-2013 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -26,7 +26,6 @@ License: GPL-3.0+
Group: Productivity/Archiving/Compression
Url: http://www.nongnu.org/lzip/clzip.html
#Freecode-URL: http://freecode.com/projects/clzip
Source: http://download.savannah.gnu.org/releases/lzip/%name-%version.tar.lz
Source2: http://download.savannah.gnu.org/releases/lzip/%name-%version.tar.lz.sig
Source3: %name.keyring
@ -36,9 +35,6 @@ BuildRequires: glibc-devel
BuildRequires: lzip
BuildRequires: make
BuildRequires: pkgconfig
%if 0%{?suse_version} >= 1230
BuildRequires: gpg-offline
%endif
Requires(post): info
Requires(preun):info
@ -53,7 +49,6 @@ Clzip is, in fact, a C language implementation of lzip, intended for
embedded devices or systems lacking a C++ compiler.
%prep
%{?gpg_verify: %gpg_verify %{S:2}}
%if 0%{?__lzip:1}
%setup -q
%else
@ -65,31 +60,31 @@ tar --use=lzip -xf "%{S:0}"
# not autoconf
./configure \
--srcdir=. \
--prefix="%{_prefix}" \
--bindir="%{_bindir}" \
--datadir="%{_datadir}" \
--infodir="%{_infodir}" \
--mandir="%{_mandir}" \
--sysconfdir="%{_sysconfdir}" \
CC="%__cc" \
CFLAGS="%{optflags}"
--prefix="%_prefix" \
--bindir="%_bindir" \
--datadir="%_datadir" \
--infodir="%_infodir" \
--mandir="%_mandir" \
--sysconfdir="%_sysconfdir" \
CC="gcc" \
CFLAGS="%optflags"
%__make %{?_smp_flags}
make %{?_smp_flags}
%install
make install DESTDIR="%buildroot"
%post
%install_info --info-dir="%{_infodir}" "%{_infodir}/clzip.info%{ext_info}"
%install_info --info-dir="%_infodir" "%_infodir/clzip.info%ext_info"
%preun
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/clzip.info%{ext_info}"
%install_info_delete --info-dir="%_infodir" "%_infodir/clzip.info%ext_info"
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/clzip
%doc %{_mandir}/man1/clzip.1%{ext_man}
%doc %{_infodir}/clzip.info%{ext_info}
%_bindir/clzip
%doc %_mandir/man1/clzip.1%ext_man
%doc %_infodir/clzip.info%ext_info
%changelog