Accepting request 805362 from 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/805362 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crudini?expand=0&rev=8
This commit is contained in:
commit
acab825a96
3
crudini-0.9.3.tar.gz
Normal file
3
crudini-0.9.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8e354ef3174463e724545c1f4e9fe3de1839cd1d88e768f3c217b0643b9c52c3
|
||||
size 24426
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10512a5a2f7b54b42e48a1d00f0c6398947c2ba6c264b9fdef86677f0e949fd3
|
||||
size 24026
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 13 10:57:28 UTC 2020 - Carsten Ziepke <kieltux@gmail.com>
|
||||
|
||||
- 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
|
||||
|
||||
|
40
crudini.spec
40
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
|
||||
|
Loading…
Reference in New Issue
Block a user