Blame SPECS/augeas.spec

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