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:
parent
5c07bb64c8
commit
17240b489c
47
augeas.spec
47
augeas.spec
@ -1,18 +1,14 @@
|
||||
Name: augeas
|
||||
Version: 1.13.0
|
||||
Release: 8%{?dist}
|
||||
Version: 1.14.1
|
||||
Release: 1%{?dist}
|
||||
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
|
||||
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:
|
||||
# http://download.augeas.net/
|
||||
#Source0: https://github.com/hercules-team/augeas/archive/refs/tags/release-%{version}.tar.gz
|
||||
# So I had to create a tarball myself using make dist.
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source0: https://github.com/hercules-team/augeas/releases/download/release-%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
Provides: bundled(gnulib)
|
||||
|
||||
@ -21,6 +17,10 @@ BuildRequires: gcc
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: bash-completion
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: bash-completion-devel
|
||||
%endif
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
@ -64,6 +64,19 @@ The %{name}-static package contains static libraries needed to produce
|
||||
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
|
||||
%autosetup -p1
|
||||
@ -106,6 +119,7 @@ rm -f $RPM_BUILD_ROOT/usr/bin/dump
|
||||
%files
|
||||
%{_bindir}/augmatch
|
||||
%{_bindir}/augparse
|
||||
%{_bindir}/augprint
|
||||
%{_bindir}/augtool
|
||||
%{_bindir}/fadot
|
||||
%doc %{_mandir}/man1/*
|
||||
@ -129,7 +143,26 @@ rm -f $RPM_BUILD_ROOT/usr/bin/dump
|
||||
%{_libdir}/libaugeas.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
|
||||
* 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
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (augeas-1.13.0.tar.gz) = e66327cfbe335fa83a8442ec1bd72f258e8e4d4a42d234ee5077ac60741e2c26bc67db39a6cc920a19e71c27247395bd145ed5288545170cd463d4cf22b2c184
|
||||
SHA512 (augeas-1.14.1.tar.gz) = fddb2e243f979e71fc09f9d45d569d6307b35485b2d885bf7bcbc032ba5617fe7ab2071a041422c3efe2dd62eda74aba41016d248c0636e947d4f1c9144375aa
|
||||
|
Loading…
Reference in New Issue
Block a user