Blame SPECS/augeas.spec

fda835
Name:           augeas
fda835
Version:        1.12.0
2ac116
Release:        6%{?dist}
fda835
Summary:        A library for changing configuration files
fda835
fda835
Group:          System Environment/Libraries
fda835
License:        LGPLv2+
fda835
URL:            http://augeas.net/
fda835
Source0:        http://download.augeas.net/%{name}-%{version}.tar.gz
b33a64
Patch1:         0001-Grub-support-in-kernel-command-line-option-names-647.patch
b33a64
Patch2:         0002-Rsyslog-support-multiple-actions-in-filters-and-sele.patch
ca4abe
Patch3:         0003-src-augrun.c-nexttoken-add-more-escape-characters.patch
ca4abe
Patch4:         0004-src-augtool.c-hopefully-fix-readline-quoting-issues.patch
ca4abe
Patch5:         0005-Krb5-improve-dbmodules-and-includes-630.patch
ca4abe
Patch6:         0006-Systemd-fix-parsing-of-envvars-with-spaces-659.patch
2ac116
Patch7:         0007-Ssh-add-Match-keyword-support-695.patch
fda835
fda835
BuildRequires:  readline-devel libselinux-devel libxml2-devel
fda835
BuildRequires:  autoconf, automake
fda835
Requires:       %{name}-libs = %{version}-%{release}
fda835
fda835
%description
fda835
A library for programmatically editing configuration files. Augeas parses
fda835
configuration files into a tree structure, which it exposes through its
fda835
public API. Changes made through the API are written back to the initially
fda835
read files.
fda835
fda835
The transformation works very hard to preserve comments and formatting
fda835
details. It is controlled by ``lens'' definitions that describe the file
fda835
format and the transformation into a tree.
fda835
fda835
%package        devel
fda835
Summary:        Development files for %{name}
fda835
Group:          Development/Libraries
fda835
Requires:       %{name}-libs = %{version}-%{release}
fda835
Requires:       pkgconfig
fda835
fda835
%description    devel
fda835
The %{name}-devel package contains libraries and header files for
fda835
developing applications that use %{name}.
fda835
fda835
fda835
%package        libs
fda835
Summary:        Libraries for %{name}
fda835
Group:          System Environment/Libraries
fda835
fda835
Provides:       bundled(gnulib)
fda835
fda835
%description    libs
fda835
The libraries for %{name}.
fda835
fda835
Augeas is a library for programmatically editing configuration files. It parses
fda835
configuration files into a tree structure, which it exposes through its
fda835
public API. Changes made through the API are written back to the initially
fda835
read files.
fda835
fda835
fda835
fda835
%prep
ca4abe
%autosetup -p1
fda835
fda835
%build
fda835
%configure \
fda835
%ifarch riscv64
fda835
    --disable-gnulib-tests \
fda835
%endif
fda835
    --disable-static
fda835
make V=1 %{?_smp_mflags}
fda835
fda835
%check
fda835
# Disable test-preserve.sh SELinux testing. This fails when run under mock due
fda835
# to differing SELinux labelling.
fda835
export SKIP_TEST_PRESERVE_SELINUX=1
fda835
fda835
make %{?_smp_mflags} check || {
fda835
  echo '===== tests/test-suite.log ====='
fda835
  cat tests/test-suite.log
fda835
  exit 1
fda835
}
fda835
fda835
%install
fda835
rm -rf $RPM_BUILD_ROOT
fda835
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
fda835
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
fda835
fda835
# The tests/ subdirectory contains lenses used only for testing, and
fda835
# so it shouldn't be packaged.
fda835
rm -r $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/dist/tests
fda835
fda835
%clean
fda835
rm -rf $RPM_BUILD_ROOT
fda835
fda835
%post libs -p /sbin/ldconfig
fda835
fda835
%postun libs -p /sbin/ldconfig
fda835
fda835
%files
fda835
%defattr(-,root,root,-)
fda835
%{_bindir}/augmatch
fda835
%{_bindir}/augparse
fda835
%{_bindir}/augtool
fda835
%{_bindir}/fadot
fda835
%doc %{_mandir}/man1/*
fda835
%{_datadir}/vim/vimfiles/syntax/augeas.vim
fda835
%{_datadir}/vim/vimfiles/ftdetect/augeas.vim
fda835
fda835
%files libs
fda835
%defattr(-,root,root,-)
fda835
# _datadir/augeas and _datadir/augeas/lenses are owned
fda835
# by filesystem.
fda835
%{_datadir}/augeas/lenses/dist
fda835
%{_libdir}/*.so.*
fda835
%doc AUTHORS COPYING NEWS
fda835
fda835
%files devel
fda835
%defattr(-,root,root,-)
fda835
%doc
fda835
%{_includedir}/*
fda835
%{_libdir}/*.so
fda835
%{_libdir}/pkgconfig/augeas.pc
fda835
fda835
%changelog
2ac116
* Tue Jan 05 2021 Pino Toscano <ptoscano@redhat.com> - 1.12.0-6
2ac116
- Ssh: parse Match options (RHBZ#1716359)
2ac116
ca4abe
* Mon Feb 10 2020 Pino Toscano <ptoscano@redhat.com> - 1.12.0-5
ca4abe
- Fix completion with special characters in augtool. (RHBZ#1232224)
ca4abe
- Krb5: improve handling of [dbmodules]; allow include/includedir directives
ca4abe
  everywhere (RHBZ#1798486)
ca4abe
- Systemd: improve parsing of quoted variables of Environment (RHBZ#1798922)
ca4abe
b33a64
* Thu Nov 14 2019 Pino Toscano <ptoscano@redhat.com> - 1.12.0-4
b33a64
- Rsyslog: support multiple actions in filters and selectors (RHBZ#1660884)
b33a64
b33a64
* Thu Nov 07 2019 Pino Toscano <ptoscano@redhat.com> - 1.12.0-3
b33a64
- Grub: handle '+' in kernel command line options (RHBZ#1769314)
b33a64
fda835
* Mon Jun 03 2019 Pino Toscano <ptoscano@redhat.com> - 1.12.0-2
fda835
- Disable static libraries, not needed in RHEL.
fda835
fda835
* Tue May 14 2019 Pino Toscano <ptoscano@redhat.com> - 1.12.0-1
fda835
- New upstream release (RHBZ#1709416)
fda835
  * Fstab: allow leading whitespaces (RHBZ#1671950)
fda835
fda835
* Thu Dec 13 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-8
fda835
- Add simple tests (RHBZ#1653994)
fda835
fda835
* Wed Dec 12 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-7
fda835
- Anaconda: new lens (RHBZ#1657192)
fda835
fda835
* Thu Nov 29 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-6
fda835
- Semanage: new lens (RHBZ#1652840)
fda835
- Add "Provides: bundled(gnulib)" to augeas-libs, as it embeds gnulib
fda835
  (RHBZ#1653768)
fda835
fda835
* Fri Nov 23 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-5
fda835
- Rsyslog: support include() directive (RHBZ#1652832)
fda835
fda835
* Tue Nov 13 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-4
fda835
- Grub: better handle invalid grub.conf files (RHBZ#1649262)
fda835
- Sudoers: handle "always_query_group_plugin" option (RHBZ#1649299)
fda835
fda835
* Mon Oct 08 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-3
fda835
- Backport some upstream commits to fix few memory leaks, and potential
fda835
  memory issues (RHBZ#1602446)
fda835
fda835
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-2
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fda835
fda835
* Mon Jan 29 2018 David Lutterkort <lutter@watzmann.net> - 1.10.1-1
fda835
- New upstream version 1.10.1
fda835
fda835
* Fri Jan 26 2018 Richard W.M. Jones <rjones@redhat.com> - 1.10.0-1
fda835
- New upstream version 1.10.0 (RHBZ#1538846).
fda835
- Remove upstream patch.
fda835
- New tool ‘augmatch’.
fda835
fda835
* Tue Nov 21 2017 David Lutterkort <lutter@watzmann.net> - 1.9.0
fda835
- New upstream version 1.9.0 (RHBZ#1482713)
fda835
- Add -static subpackage (RHBZ#1405600)
fda835
fda835
* Thu Aug 24 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.1-1
fda835
- New upstream version 1.8.1.
fda835
- Fixes CVE-2017-7555 (RHBZ#1482340).
fda835
fda835
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-3
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
fda835
fda835
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fda835
fda835
* Tue Mar 21 2017 Dominic Cleal <dominic@cleal.org> - 1.8.0-1
fda835
- Update to 1.8.0
fda835
fda835
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-4
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fda835
fda835
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.7.0-3
fda835
- Rebuild for readline 7.x
fda835
fda835
* Sat Nov 12 2016 Richard W.M. Jones <rjones@redhat.com> - 1.7.0-2
fda835
- riscv64: Disable gnulib tests on riscv64 architecture.
fda835
fda835
* Wed Nov 09 2016 Dominic Cleal <dominic@cleal.org> - 1.7.0-1
fda835
- Update to 1.7.0
fda835
fda835
* Mon Aug 08 2016 Dominic Cleal <dominic@cleal.org> - 1.6.0-1
fda835
- Update to 1.6.0
fda835
fda835
* Thu May 12 2016 Dominic Cleal <dominic@cleal.org> - 1.5.0-1
fda835
- Update to 1.5.0
fda835
fda835
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fda835
fda835
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fda835
fda835
* Tue Jun 02 2015 Dominic Cleal <dcleal@redhat.com> - 1.4.0-1
fda835
- Update to 1.4.0
fda835
fda835
* Sat Nov 08 2014 Dominic Cleal <dcleal@redhat.com> - 1.3.0-1
fda835
- Update to 1.3.0; remove all patches
fda835
fda835
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
fda835
fda835
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fda835
fda835
* Mon Mar 31 2014 Dominic Cleal <dcleal@redhat.com> - 1.2.0-2
fda835
- Add patch for Krb5, parse braces in values (RHBZ#1079444)
fda835
fda835
* Wed Feb 12 2014 Dominic Cleal <dcleal@redhat.com> - 1.2.0-1
fda835
- Update to 1.2.0, add check section
fda835
- Update source URL to download.augeas.net (RHBZ#996032)
fda835
fda835
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fda835
fda835
* Wed Jun 19 2013 David Lutterkort <lutter@redhat.com> - 1.1.0-1
fda835
- Update to 1.1.0; remove all patches
fda835
fda835
* Tue Jun 18 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-4
fda835
- Fix /etc/sysconfig/network (RHBZ#904222).
fda835
fda835
* Wed Jun  5 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-3
fda835
- Don't package lenses in tests/ subdirectory.
fda835
fda835
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fda835
fda835
* Fri Jan  4 2013 David Lutterkort <lutter@redhat.com> - 1.0.0-1
fda835
- New version; remove all patches
fda835
fda835
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-4
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fda835
fda835
* Tue Jan 10 2012 David Lutterkort <lutter@redhat.com> - 0.10.0-3
fda835
- Add patches for bugs 247 and 248 (JSON lens)
fda835
fda835
* Sat Dec  3 2011 Richard W.M. Jones <rjones@redhat.com> - 0.10.0-2
fda835
- Add patch to resolve missing libxml2 requirement in augeas.pc.
fda835
fda835
* Fri Dec  2 2011 David Lutterkort <lutter@redhat.com> - 0.10.0-1
fda835
- New version
fda835
fda835
* Mon Jul 25 2011 David Lutterkort <lutter@redhat.com> - 0.9.0-1
fda835
- New version; removed patch pathx-whitespace-ea010d8
fda835
fda835
* Tue May  3 2011 David Lutterkort <lutter@redhat.com> - 0.8.1-2
fda835
- Add patch pathx-whitespace-ea010d8.patch to fix BZ 700608
fda835
fda835
* Fri Apr 15 2011 David Lutterkort <lutter@redhat.com> - 0.8.1-1
fda835
- New version
fda835
fda835
* Wed Feb 23 2011 David Lutterkort <lutter@redhat.com> - 0.8.0-1
fda835
- New version
fda835
fda835
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-2
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fda835
fda835
* Mon Nov 22 2010 Matthew Booth <mbooth@redhat.com> - 0.7.4-1
fda835
- Update to version 0.7.4
fda835
fda835
* Thu Nov 18 2010 Richard W.M. Jones <rjones@redhat.com> - 0.7.3-2
fda835
- Upstream patch proposed to fix GCC optimization bug (RHBZ#651992).
fda835
fda835
* Fri Aug  6 2010 David Lutterkort <lutter@redhat.com> - 0.7.3-1
fda835
- Remove upstream patches
fda835
fda835
* Tue Jun 29 2010 David Lutterkort <lutter@redhat.com> - 0.7.2-2
fda835
- Patches based on upstream fix for BZ 600141
fda835
fda835
* Tue Jun 22 2010 David Lutterkort <lutter@redhat.com> - 0.7.2-1
fda835
- Fix ownership of /usr/share/augeas. BZ 569393
fda835
fda835
* Wed Apr 21 2010 David Lutterkort <lutter@redhat.com> - 0.7.1-1
fda835
- New version
fda835
fda835
* Thu Jan 14 2010 David Lutterkort <lutter@redhat.com> - 0.7.0-1
fda835
- Remove patch vim-ftdetect-syntax.patch. It's upstream
fda835
fda835
* Tue Dec 15 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-2
fda835
- Fix ftdetect file for vim
fda835
fda835
* Mon Nov 30 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-1
fda835
- Install vim syntax files
fda835
fda835
* Mon Sep 14 2009 David Lutterkort <lutter@redhat.com> - 0.5.3-1
fda835
- Remove separate xorg.aug, included in upstream source
fda835
fda835
* Tue Aug 25 2009 Matthew Booth <mbooth@redhat.com> - 0.5.2-3
fda835
- Include new xorg lens from upstream
fda835
fda835
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
fda835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
fda835
fda835
* Mon Jul 13 2009 David Lutterkort <lutter@redhat.com> - 0.5.2-1
fda835
- New version
fda835
fda835
* Fri Jun  5 2009 David Lutterkort <lutter@redhat.com> - 0.5.1-1
fda835
- Install fadot
fda835
fda835
* Fri Mar 27 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-2
fda835
- fadot isn't being installed just yet
fda835
fda835
* Tue Mar 24 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-1
fda835
- New program /usr/bin/fadot
fda835
fda835
* Mon Mar  9 2009 David Lutterkort <lutter@redhat.com> - 0.4.2-1
fda835
- New version
fda835
fda835
* Fri Feb 27 2009 David Lutterkort <lutter@redhat.com> - 0.4.1-1
fda835
- New version
fda835
fda835
* Fri Feb  6 2009 David Lutterkort <lutter@redhat.com> - 0.4.0-1
fda835
- New version
fda835
fda835
* Mon Jan 26 2009 David Lutterkort <lutter@redhat.com> - 0.3.6-1
fda835
- New version
fda835
fda835
* Tue Dec 23 2008 David Lutterkort <lutter@redhat.com> - 0.3.5-1
fda835
- New version
fda835
fda835
* Mon Feb 25 2008 David Lutterkort <dlutter@redhat.com> - 0.0.4-1
fda835
- Initial specfile