New upstream version 1.14.1

Use github tarballs again.
New binary augprint.
New bash-completions subpackage.

resolves: RHEL-45866

(cherry picked from commit 2bcc944549a4e908c614b8bf4bc123c5bf9daee4)
This commit is contained in:
Richard W.M. Jones 2024-07-04 09:56:02 +01:00
parent 5c07bb64c8
commit 17240b489c
2 changed files with 41 additions and 8 deletions

View File

@ -1,18 +1,14 @@
Name: augeas Name: augeas
Version: 1.13.0 Version: 1.14.1
Release: 8%{?dist} Release: 1%{?dist}
Summary: A library for changing configuration files Summary: A library for changing configuration files
License: LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND Kazlib AND GPL-2.0-or-later AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain License: LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND Kazlib AND GPL-2.0-or-later AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain
URL: http://augeas.net/ URL: http://augeas.net/
# The upstream release tarballs on github don't work, see:
# https://github.com/hercules-team/augeas/pull/744
# The website release tarballs were not created for 1.13: # The website release tarballs were not created for 1.13:
# http://download.augeas.net/ # http://download.augeas.net/
#Source0: https://github.com/hercules-team/augeas/archive/refs/tags/release-%{version}.tar.gz Source0: https://github.com/hercules-team/augeas/releases/download/release-%{version}/%{name}-%{version}.tar.gz
# So I had to create a tarball myself using make dist.
Source0: %{name}-%{version}.tar.gz
Provides: bundled(gnulib) Provides: bundled(gnulib)
@ -21,6 +17,10 @@ BuildRequires: gcc
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: bash-completion
%if !0%{?rhel}
BuildRequires: bash-completion-devel
%endif
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
@ -64,6 +64,19 @@ The %{name}-static package contains static libraries needed to produce
static builds using %{name}. static builds using %{name}.
%package bash-completion
Summary: Bash tab-completion for %{name}
BuildArch: noarch
Requires: bash-completion >= 2.0
# Don't use _isa here because it's a noarch package. This dependency
# is just to ensure that the subpackage is updated along with augeas.
Requires: %{name} = %{version}-%{release}
%description bash-completion
Install this package if you want intelligent bash tab-completion
for %{name}.
%prep %prep
%autosetup -p1 %autosetup -p1
@ -106,6 +119,7 @@ rm -f $RPM_BUILD_ROOT/usr/bin/dump
%files %files
%{_bindir}/augmatch %{_bindir}/augmatch
%{_bindir}/augparse %{_bindir}/augparse
%{_bindir}/augprint
%{_bindir}/augtool %{_bindir}/augtool
%{_bindir}/fadot %{_bindir}/fadot
%doc %{_mandir}/man1/* %doc %{_mandir}/man1/*
@ -129,7 +143,26 @@ rm -f $RPM_BUILD_ROOT/usr/bin/dump
%{_libdir}/libaugeas.a %{_libdir}/libaugeas.a
%{_libdir}/libfa.a %{_libdir}/libfa.a
%files bash-completion
%if !0%{?rhel}
%dir %{bash_completions_dir}
%{bash_completions_dir}/augmatch
%{bash_completions_dir}/augprint
%{bash_completions_dir}/augtool
%else
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/augmatch
%{_datadir}/bash-completion/completions/augprint
%{_datadir}/bash-completion/completions/augtool
%endif
%changelog %changelog
* Thu Jul 04 2024 Richard W.M. Jones <rjones@redhat.com> - 1.14.1-1
- New upstream version 1.14.1
- Use github tarballs again.
- New binary augprint.
- New bash-completions subpackage.
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.13.0-8 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.13.0-8
- Bump release for June 2024 mass rebuild - Bump release for June 2024 mass rebuild

View File

@ -1 +1 @@
SHA512 (augeas-1.13.0.tar.gz) = e66327cfbe335fa83a8442ec1bd72f258e8e4d4a42d234ee5077ac60741e2c26bc67db39a6cc920a19e71c27247395bd145ed5288545170cd463d4cf22b2c184 SHA512 (augeas-1.14.1.tar.gz) = fddb2e243f979e71fc09f9d45d569d6307b35485b2d885bf7bcbc032ba5617fe7ab2071a041422c3efe2dd62eda74aba41016d248c0636e947d4f1c9144375aa