From b5e56b2f52503203c0f4e12e0d42050684c806df Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Tue, 5 Jan 2021 10:54:11 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/keyutils.git#4ae07952596d3574ade818bc6b0c1786b48eeb9a --- keyutils.spec | 35 ++++++++++++++++++----------------- sources | 2 +- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/keyutils.spec b/keyutils.spec index d905a38..717f5fc 100644 --- a/keyutils.spec +++ b/keyutils.spec @@ -1,14 +1,11 @@ -%define vermajor 1 -%define verminor 6 -%define version %{vermajor}.%{verminor} %define libapivermajor 1 -%define libapiversion %{libapivermajor}.8 +%define libapiversion %{libapivermajor}.9 # % define buildid .local Name: keyutils -Version: %{version} -Release: 5%{?buildid}%{?dist} +Version: 1.6.1 +Release: 1%{?buildid}%{?dist} Summary: Linux Key Management Utilities License: GPLv2+ and LGPLv2+ Url: http://people.redhat.com/~dhowells/keyutils/ @@ -17,6 +14,7 @@ Source0: http://people.redhat.com/~dhowells/keyutils/keyutils-%{version}.tar.bz2 BuildRequires: gcc BuildRequires: glibc-kernheaders >= 2.4-9.1.92 +BuildRequires: make Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description @@ -41,8 +39,6 @@ This package provides headers and libraries for building key utilities. %prep %setup -q -%define datadir %{_datarootdir}/keyutils - %build make \ NO_ARLIB=1 \ @@ -53,7 +49,7 @@ make \ SBINDIR=%{_sbindir} \ MANDIR=%{_mandir} \ INCLUDEDIR=%{_includedir} \ - SHAREDIR=%{datadir} \ + SHAREDIR=%{_datadir}/%{name} \ RELEASE=.%{release} \ NO_GLIBC_KEYERR=1 \ CFLAGS="-Wall $RPM_OPT_FLAGS" \ @@ -70,7 +66,7 @@ make \ SBINDIR=%{_sbindir} \ MANDIR=%{_mandir} \ INCLUDEDIR=%{_includedir} \ - SHAREDIR=%{datadir} \ + SHAREDIR=%{_datadir}/%{name} \ install %ldconfig_scriptlets libs @@ -78,27 +74,32 @@ make \ %files %doc README %license LICENCE.GPL -%{_sbindir}/* -%{_bindir}/* -%{datadir} +%config(noreplace) %{_sysconfdir}/* +%{_bindir}/keyctl +%{_sbindir}/key.dns_resolver +%{_sbindir}/request-key +%{_datadir}/%{name} %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/man8/* -%config(noreplace) %{_sysconfdir}/* %files libs %license LICENCE.LGPL -%{_mandir}/man7/* %{_libdir}/libkeyutils.so.%{libapiversion} %{_libdir}/libkeyutils.so.%{libapivermajor} +%{_mandir}/man7/* %files libs-devel %{_libdir}/libkeyutils.so -%{_includedir}/* -%{_mandir}/man3/* +%{_includedir}/keyutils.h %{_libdir}/pkgconfig/libkeyutils.pc +%{_mandir}/man3/* %changelog +* Tue Jan 5 2021 Peter Robinson - 1.6.1-1 +- Update to 1.6.1 +- Spec cleanups + * Tue Jul 28 2020 Fedora Release Engineering - 1.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 4fb14a2..694cfdc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (keyutils-1.6.tar.bz2) = ee50da165099ea26904066d24b27c5165cb1eb78df6768cba3a534aa318a5c8d926ec6e5322a38c8cedaa768cd79bdcb26ef918aa8447df2e5dfbbe7b8f200ff +SHA512 (keyutils-1.6.1.tar.bz2) = ea6e20b2594234c7f51581eef2b8fd19c109fa9eacaaef8dfbb4f237bd1d6fdf071ec23b4ff334cb22a46461d09d17cf499987fd1f00e66f27506888876961e1