%files: track library sonames, so bumps aren't a surprise
%build: --disable-silent-rules -devel: tighten subpkg dep with %_isa, drop hard-coded pkgconfig dep use %make_build %make_install %ldconfig_scriptlets
This commit is contained in:
parent
e279747faa
commit
f8828aa23c
@ -3,7 +3,7 @@
|
||||
Name: libconfig
|
||||
Summary: C/C++ configuration file library
|
||||
Version: 1.7.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: http://www.hyperrealm.com/libconfig/
|
||||
Source0: https://hyperrealm.github.io/%name/dist/%name-%version.tar.gz
|
||||
@ -23,8 +23,7 @@ in application code.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libconfig
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development libraries and headers for developing software against
|
||||
@ -38,13 +37,16 @@ mv AUTHORS{.utf8,}
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--disable-static
|
||||
|
||||
make %{?_smp_mflags}
|
||||
make pdf
|
||||
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
%make_install
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
# Need to use a pre-built copy to support multilib
|
||||
@ -58,10 +60,12 @@ make check
|
||||
%endif
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license COPYING.LIB
|
||||
%doc AUTHORS ChangeLog README
|
||||
%{_libdir}/libconfig*.so.*
|
||||
%{_libdir}/libconfig*.so.11*
|
||||
|
||||
|
||||
%files devel
|
||||
@ -75,6 +79,12 @@ make check
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.7.2-2
|
||||
- %%files: track library sonames, so bumps aren't a surprise
|
||||
- %%build: --disable-silent-rules
|
||||
- -devel: tighten subpkg dep with %%_isa, drop hard-coded pkgconfig dep
|
||||
- use %%make_build %%make_install %%ldconfig_scriptlets
|
||||
|
||||
* Mon Jul 23 2018 Pavel Raiskup <praiskup@redhat.com> - 1.7.2-1
|
||||
- new upstream release (rhbz#1602423)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user