Add missing gcc-c++ dep, spec cleanups

This commit is contained in:
Peter Robinson 2018-07-22 10:50:54 +01:00
parent bb9ce850a5
commit 608f59068b

View File

@ -1,16 +1,16 @@
Name: libconfig
Summary: C/C++ configuration file library
Version: 1.5
Release: 10%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
Name: libconfig
Summary: C/C++ configuration file library
Version: 1.5
Release: 10%{?dist}
License: LGPLv2+
URL: http://www.hyperrealm.com/libconfig/
Source0:http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
# Generated from libconfig 1.5 on Fedora 23 x86_64 (2015-12-17)
Source1: libconfig.pdf
URL: http://www.hyperrealm.com/libconfig/
BuildRequires: gcc
BuildRequires: texinfo-tex, tex(ecbx1095.tfm), tex(ecrm1095.tfm), tex(cm-super-t1.enc)
BuildRequires: bison, flex
Source1: libconfig.pdf
BuildRequires: gcc gcc-c++
BuildRequires: glibc-common
BuildRequires: texinfo-tex, tex(ecbx1095.tfm), tex(ecrm1095.tfm), tex(cm-super-t1.enc)
BuildRequires: bison, flex
%description
Libconfig is a simple library for manipulating structured configuration
@ -19,12 +19,11 @@ unlike XML, it is type-aware, so it is not necessary to do string parsing
in application code.
%package devel
Summary: Development files for libconfig
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Summary: Development files for libconfig
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%description devel
Development libraries and headers for developing software against
@ -62,7 +61,8 @@ if [ $1 = 0 ]; then
fi
%files
%doc AUTHORS ChangeLog COPYING.LIB README
%license COPYING.LIB
%doc AUTHORS ChangeLog README
%{_libdir}/libconfig*.so.*
%files devel
@ -73,6 +73,9 @@ fi
%{_infodir}/libconfig.info*
%changelog
* Sun Jul 22 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.5-11
- Add missing gcc-c++ dep, spec cleanups
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild