3
0
forked from pool/fipscheck
Dominique Leuenberger 2019-01-15 12:13:50 +00:00 committed by Git OBS Bridge
commit 65795e4b9d
3 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,13 @@
Index: fipscheck-1.5.0/man/Makefile.in
===================================================================
--- fipscheck-1.5.0.orig/man/Makefile.in 2017-02-23 15:49:16.000000000 +0100
+++ fipscheck-1.5.0/man/Makefile.in 2019-01-03 12:03:26.003429620 +0100
@@ -567,7 +567,7 @@ uninstall-man: uninstall-man3 uninstall-
$(dist_man_MANS): $(manpages_XMLSOURCES)
- for i in $^ ; do xmlto man $$i ; done
+ #for i in $^ ; do xmlto man $$i ; done
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jan 3 11:08:27 UTC 2019 - Vítězslav Čížek <vcizek@suse.com>
- Use the shipped manpages instead of building them with xmlto
in order to avoid a build cycle (fipscheck, xmlto, libxslt, libgcrypt)
* add fipscheck-dont_generate_manpages.patch
- fix build on older distributions
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 20 17:16:11 UTC 2018 - Jason Sikes <jsikes@suse.de> Thu Sep 20 17:16:11 UTC 2018 - Jason Sikes <jsikes@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package fipscheck # spec file for package fipscheck
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -31,11 +31,15 @@ URL: https://releases.pagure.org/%{name}/
Source0: https://releases.pagure.org/fipscheck/%{name}-%{version}.tar.bz2 Source0: https://releases.pagure.org/fipscheck/%{name}-%{version}.tar.bz2
Source1: baselibs.conf Source1: baselibs.conf
Patch0: openssl-1_1-port.patch Patch0: openssl-1_1-port.patch
Patch1: fipscheck-dont_generate_manpages.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
%if 0%{?suse_version} >= 1500
BuildRequires: libopenssl-1_0_0-devel BuildRequires: libopenssl-1_0_0-devel
%else
BuildRequires: libopenssl-devel
%endif
BuildRequires: libtool BuildRequires: libtool
BuildRequires: xmlto
Requires: %{lname} = %{version} Requires: %{lname} = %{version}
%description %description
@ -64,6 +68,7 @@ This package contains development files for %{name}.
if pkg-config --atleast-version=1.1 openssl; then if pkg-config --atleast-version=1.1 openssl; then
%patch0 -p1 %patch0 -p1
fi fi
%patch1 -p1
%build %build
%configure --disable-static --libdir=/%{_lib} %configure --disable-static --libdir=/%{_lib}