|
|
cbca10 |
Name: crudini
|
|
|
cbca10 |
Version: 0.9.3
|
|
|
cbca10 |
Release: 4%{?dist}
|
|
|
cbca10 |
Summary: A utility for manipulating ini files
|
|
|
cbca10 |
|
|
|
cbca10 |
License: GPLv2
|
|
|
cbca10 |
URL: https://github.com/pixelb/%{name}
|
|
|
cbca10 |
Source0: https://github.com/pixelb/%{name}/archive/refs/tags/%{version}.tar.gz
|
|
|
cbca10 |
|
|
|
cbca10 |
BuildArch: noarch
|
|
|
cbca10 |
BuildRequires: diffutils
|
|
|
cbca10 |
BuildRequires: grep
|
|
|
cbca10 |
%if 0%{?rhel} == 6 || 0%{?rhel} == 7
|
|
|
cbca10 |
BuildRequires: python2-devel
|
|
|
cbca10 |
BuildRequires: python-iniparse
|
|
|
cbca10 |
Requires: python-iniparse
|
|
|
cbca10 |
%else
|
|
|
cbca10 |
BuildRequires: python3-devel
|
|
|
cbca10 |
BuildRequires: python3-setuptools
|
|
|
cbca10 |
BuildRequires: python3-iniparse >= 0.3.2
|
|
|
cbca10 |
Requires: python3-iniparse >= 0.3.2
|
|
|
cbca10 |
%endif
|
|
|
cbca10 |
|
|
|
cbca10 |
Patch0: crudini-el6.patch
|
|
|
cbca10 |
Patch1: crudini-py2.patch
|
|
|
cbca10 |
Patch2: crudini-py3.patch
|
|
|
cbca10 |
|
|
|
cbca10 |
%description
|
|
|
cbca10 |
A utility for easily handling ini files from the command line and shell
|
|
|
cbca10 |
scripts.
|
|
|
cbca10 |
|
|
|
cbca10 |
%prep
|
|
|
cbca10 |
%setup -q
|
|
|
cbca10 |
%if 0%{?rhel} == 6
|
|
|
cbca10 |
%patch0 -p1
|
|
|
cbca10 |
%endif
|
|
|
cbca10 |
%if 0%{?rhel} == 6 || 0%{?rhel} == 7
|
|
|
cbca10 |
%patch1 -p1
|
|
|
cbca10 |
%else
|
|
|
cbca10 |
%patch2 -p1
|
|
|
cbca10 |
%endif
|
|
|
cbca10 |
|
|
|
cbca10 |
%build
|
|
|
cbca10 |
|
|
|
cbca10 |
%install
|
|
|
cbca10 |
install -p -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
|
|
|
cbca10 |
|
|
|
cbca10 |
%check
|
|
|
cbca10 |
pushd tests
|
|
|
cbca10 |
LC_ALL=en_US.utf8 ./test.sh
|
|
|
cbca10 |
popd
|
|
|
cbca10 |
|
|
|
cbca10 |
%files
|
|
|
cbca10 |
%doc README COPYING TODO NEWS example.ini
|
|
|
cbca10 |
%{_bindir}/%{name}
|
|
|
cbca10 |
|
|
|
cbca10 |
|
|
|
cbca10 |
%changelog
|
|
|
cbca10 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-4
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-3
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Fri Aug 30 2019 Pádraig Brady <P@draigBrady.com> - 0.9.3-1
|
|
|
cbca10 |
- Latest upstream: python 3 support
|
|
|
cbca10 |
|
|
|
cbca10 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-8
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Wed Jun 26 2019 Pádraig Brady <P@draigBrady.com> - 0.9-7
|
|
|
cbca10 |
- Add missing test dependencies
|
|
|
cbca10 |
|
|
|
cbca10 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-6
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-5
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Mon Mar 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9-4
|
|
|
cbca10 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
cbca10 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
cbca10 |
|
|
|
cbca10 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-3
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Fri Mar 03 2017 Pádraig Brady <P@draigBrady.com> - 0.9-1
|
|
|
cbca10 |
- Latest upstream
|
|
|
cbca10 |
|
|
|
cbca10 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Wed Nov 23 2016 Pádraig Brady <P@draigBrady.com> - 0.8-1
|
|
|
cbca10 |
- Latest upstream
|
|
|
cbca10 |
|
|
|
cbca10 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-3
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Sun Jun 14 2015 Pádraig Brady <pbrady@redhat.com> - 0.7-1
|
|
|
cbca10 |
- Latest upstream
|
|
|
cbca10 |
- Fixes race condition avoiding stale lock files and blocked edits
|
|
|
cbca10 |
|
|
|
cbca10 |
* Wed Jan 28 2015 Pádraig Brady <pbrady@redhat.com> - 0.5-1
|
|
|
cbca10 |
- Latest upstream
|
|
|
cbca10 |
- Fixes race condition causing stale lock files and blocked edits
|
|
|
cbca10 |
|
|
|
cbca10 |
* Mon Sep 08 2014 Pádraig Brady <pbrady@redhat.com> - 0.4-1
|
|
|
cbca10 |
- Latest upstream
|
|
|
cbca10 |
|
|
|
cbca10 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-4
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-3
|
|
|
cbca10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
cbca10 |
|
|
|
cbca10 |
* Fri Mar 08 2013 Jakub Ruzicka <jruzicka@redhat.com> - 0.3-2
|
|
|
cbca10 |
- Added BuildRequires python-iniparse.
|
|
|
cbca10 |
|
|
|
cbca10 |
* Fri Mar 08 2013 Jakub Ruzicka <jruzicka@redhat.com> - 0.3-1
|
|
|
cbca10 |
- New version 0.3 includes COPYING licence file.
|
|
|
cbca10 |
- Improved description.
|
|
|
cbca10 |
- Added python-iniparse dependency.
|
|
|
cbca10 |
- Added tests check.
|
|
|
cbca10 |
|
|
|
cbca10 |
* Thu Mar 07 2013 Jakub Ruzicka <jruzicka@redhat.com> - 0.1-1
|
|
|
cbca10 |
- Initial package release
|