From c34ea449f28e6c69de89c2f60ea66721e3300653892bb7fde525a159588f844e Mon Sep 17 00:00:00 2001 From: Bernhard Wiedemann Date: Wed, 13 May 2020 16:51:29 +0000 Subject: [PATCH 1/2] Accepting request 805251 from home:Kieltux:branches:Cloud:OpenStack:Factory - Update to 0.9.3: * Python 3 support * Fix regression with windows line endings - Run spec-cleaner - Add BuildArch noarch - Run crudini test script - Add manpage OBS-URL: https://build.opensuse.org/request/show/805251 OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=18 --- crudini-0.9.3.tar.gz | 3 +++ crudini-0.9.tar.gz | 3 --- crudini.changes | 11 +++++++++++ crudini.spec | 40 ++++++++++++++++++++++++---------------- 4 files changed, 38 insertions(+), 19 deletions(-) create mode 100644 crudini-0.9.3.tar.gz delete mode 100644 crudini-0.9.tar.gz diff --git a/crudini-0.9.3.tar.gz b/crudini-0.9.3.tar.gz new file mode 100644 index 0000000..b62a02e --- /dev/null +++ b/crudini-0.9.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e354ef3174463e724545c1f4e9fe3de1839cd1d88e768f3c217b0643b9c52c3 +size 24426 diff --git a/crudini-0.9.tar.gz b/crudini-0.9.tar.gz deleted file mode 100644 index 7059934..0000000 --- a/crudini-0.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:10512a5a2f7b54b42e48a1d00f0c6398947c2ba6c264b9fdef86677f0e949fd3 -size 24026 diff --git a/crudini.changes b/crudini.changes index dbb25eb..dcb3a55 100644 --- a/crudini.changes +++ b/crudini.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed May 13 10:57:28 UTC 2020 - Carsten Ziepke + +- Update to 0.9.3: + * Python 3 support + * Fix regression with windows line endings +- Run spec-cleaner +- Add BuildArch noarch +- Run crudini test script +- Add manpage + ------------------------------------------------------------------- Thu Aug 24 13:22:03 UTC 2017 - tbechtold@suse.com diff --git a/crudini.spec b/crudini.spec index 11abb10..e76410d 100644 --- a/crudini.spec +++ b/crudini.spec @@ -1,7 +1,7 @@ # # spec file for package crudini # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,39 +12,47 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: crudini -Version: 0.9 +Version: 0.9.3 Release: 0 -Summary: CRUD for .ini files -License: GPL-2.0 +Summary: A utility for manipulating ini files +License: GPL-2.0-only Group: System/Base -Url: https://github.com/pixelb/crudini/releases -Source: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: python-iniparse +URL: https://github.com/pixelb/crudini +Source0: https://github.com/pixelb/%{name}/archive/%{name}-%{version}.tar.gz +BuildRequires: python3-devel +BuildRequires: python3-iniparse +Requires: python3-iniparse +BuildArch: noarch %description -A utility for manipulating ini files. +A utility for easily handling ini files from the command line and shell +scripts. %prep %setup -q +sed -i 's/env python/python3/' crudini + %build %install -install -m 0755 -D crudini %{buildroot}/%{_bindir}/crudini +install -m 0755 -D %{name} %{buildroot}%{_bindir}/%{name} +install -m 0644 -D %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 -%post - -%postun +%check +pushd tests +LC_ALL=en_US.utf8 ./test.sh +popd %files -%defattr(-,root,root) -%doc README COPYING +%license COPYING +%doc README TODO NEWS example.ini %{_bindir}/crudini +%{_mandir}/man1/* %changelog From 96188fda496b367ef77328668fd0e5432b3b8414ad0c9e20c916a7c760eb0f40 Mon Sep 17 00:00:00 2001 From: Bernhard Wiedemann Date: Wed, 13 May 2020 17:12:48 +0000 Subject: [PATCH 2/2] Fix source URL OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=19 --- crudini.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crudini.spec b/crudini.spec index e76410d..7fa07a7 100644 --- a/crudini.spec +++ b/crudini.spec @@ -23,7 +23,7 @@ Summary: A utility for manipulating ini files License: GPL-2.0-only Group: System/Base URL: https://github.com/pixelb/crudini -Source0: https://github.com/pixelb/%{name}/archive/%{name}-%{version}.tar.gz +Source0: https://github.com/pixelb/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-iniparse Requires: python3-iniparse