Blame SPECS/augeas.spec

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