Spec cleanups, add gcc build requires

This commit is contained in:
Peter Robinson 2018-07-21 17:31:30 +01:00
parent 8b62eae20e
commit 231e7e1ccd

View File

@ -4,21 +4,18 @@
%define libapivermajor 1 %define libapivermajor 1
%define libapiversion %{libapivermajor}.6 %define libapiversion %{libapivermajor}.6
# % define buildid .local
Summary: Linux Key Management Utilities
Name: keyutils Name: keyutils
Version: %{version} Version: %{version}
Release: 7%{?buildid}%{?dist} Release: 8%{?dist}
Summary: Linux Key Management Utilities
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Group: System Environment/Base
ExclusiveOS: Linux
Url: http://people.redhat.com/~dhowells/keyutils/ Url: http://people.redhat.com/~dhowells/keyutils/
Source0: http://people.redhat.com/~dhowells/keyutils/keyutils-%{version}.tar.bz2 Source0: http://people.redhat.com/~dhowells/keyutils/keyutils-%{version}.tar.bz2
BuildRequires: gcc
BuildRequires: glibc-kernheaders >= 2.4-9.1.92 BuildRequires: glibc-kernheaders >= 2.4-9.1.92
Requires: keyutils-libs == %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description %description
Utilities to control the kernel key management facility and to provide Utilities to control the kernel key management facility and to provide
@ -27,7 +24,6 @@ instantiated.
%package libs %package libs
Summary: Key utilities library Summary: Key utilities library
Group: System Environment/Base
%description libs %description libs
This package provides a wrapper library for the key management facility system This package provides a wrapper library for the key management facility system
@ -35,8 +31,7 @@ calls.
%package libs-devel %package libs-devel
Summary: Development package for building Linux key management utilities Summary: Development package for building Linux key management utilities
Group: System Environment/Base Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: keyutils-libs == %{version}-%{release}
%description libs-devel %description libs-devel
This package provides headers and libraries for building key utilities. This package provides headers and libraries for building key utilities.
@ -101,6 +96,9 @@ make \
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sat Jul 21 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.5.10-8
- Spec cleanups, add gcc build requires
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.10-7 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild