New upstream version 1.9.0

New upstream version 1.9.0 (RHBZ#1482713)
Add -static subpackage (RHBZ#1405600)
This commit is contained in:
David Lutterkort 2017-11-21 15:59:39 -08:00
parent 8231c3d544
commit a48d622547
2 changed files with 26 additions and 3 deletions

View File

@ -1,5 +1,5 @@
Name: augeas
Version: 1.8.1
Version: 1.9.0
Release: 1%{?dist}
Summary: A library for changing configuration files
@ -46,6 +46,17 @@ configuration files into a tree structure, which it exposes through its
public API. Changes made through the API are written back to the initially
read files.
%package static
Summary: Static libraries for %{name}
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
The %{name}-static package contains static libraries needed to produce
static builds using %{name}.
%prep
%setup -q
%patch0 -p1
@ -55,7 +66,7 @@ read files.
%ifarch riscv64
--disable-gnulib-tests \
%endif
--disable-static
--enable-static
make %{?_smp_mflags}
%check
@ -78,6 +89,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
# so it shouldn't be packaged.
rm -r $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/dist/tests
# In 1.9.0, the example /usr/bin/dump gets installed inadvertently
rm -f $RPM_BUILD_ROOT/usr/bin/dump
%clean
rm -rf $RPM_BUILD_ROOT
@ -109,7 +123,16 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so
%{_libdir}/pkgconfig/augeas.pc
%files static
%defattr(-,root,root,-)
%{_libdir}/libaugeas.a
%{_libdir}/libfa.a
%changelog
* Tue Nov 21 2017 David Lutterkort <lutter@watzmann.net> - 1.9.0
- New upstream version 1.9.0 (RHBZ#1482713)
- Add -static subpackage (RHBZ#1405600)
* Thu Aug 24 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.1-1
- New upstream version 1.8.1.
- Fixes CVE-2017-7555 (RHBZ#1482340).

View File

@ -1 +1 @@
SHA512 (augeas-1.8.1.tar.gz) = 80be6dc75e86e2a00c56cb668824ffbe54105b64fad64a2737d980c8ee5ba347a97ddd190a1c712bd07a768ed23a8d07b0eb676033b367632036a8e7f98c976b
SHA512 (augeas-1.9.0.tar.gz) = 340aed78ac2df455770735b41f3c10a1cbe40f160e236a735d4580edf5b635afeaf7ddadc10e759e9197c4b233e98b3b6b94a3c2f072aa765c104d64371ce171