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..7fa07a7 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}/releases/download/%{version}/%{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