- update to 0.9:
* Write errors to stdout are diagnosed correctly and consistently. * Replacing symlinks now replaces the target rather than the symlink itself. * The case of parameters is maintained with --get. * Single token parameters (without equals) are now supported, which are used in mysql config for example. - Drop 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch . Applied upstream. OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=17
This commit is contained in:
parent
82a5832a5b
commit
87a94ac4a0
@ -1,29 +0,0 @@
|
||||
From 3c52bd938975f7c5b32d7009f109ccbd2328c16d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
|
||||
Date: Fri, 2 Dec 2016 17:19:55 +0000
|
||||
Subject: [PATCH] replace a symlink target rather than the symlink itself
|
||||
|
||||
* NEWS: Mention the fix.
|
||||
* crudini: Get the realpath() to replace.
|
||||
* tests/test.sh: Add a test case.
|
||||
|
||||
Fixes issue #43
|
||||
---
|
||||
NEWS | 4 +++-
|
||||
crudini | 2 +-
|
||||
tests/test.sh | 6 ++++++
|
||||
3 files changed, 10 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: crudini-0.8/crudini
|
||||
===================================================================
|
||||
--- crudini-0.8.orig/crudini
|
||||
+++ crudini-0.8/crudini
|
||||
@@ -515,7 +515,7 @@ Options:
|
||||
pass
|
||||
|
||||
if not self.output:
|
||||
- self.output = self.cfgfile
|
||||
+ self.output = os.path.realpath(self.cfgfile)
|
||||
|
||||
if self.cfgfile is None:
|
||||
self.usage(1)
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:effdf8feb7efe252af87143c8756bbc69e2679afb6173083d38be02284385e5f
|
||||
size 22955
|
3
crudini-0.9.tar.gz
Normal file
3
crudini-0.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10512a5a2f7b54b42e48a1d00f0c6398947c2ba6c264b9fdef86677f0e949fd3
|
||||
size 24026
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 24 13:22:03 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- update to 0.9:
|
||||
* Write errors to stdout are diagnosed correctly and consistently.
|
||||
* Replacing symlinks now replaces the target rather than the symlink itself.
|
||||
* The case of parameters is maintained with --get.
|
||||
* Single token parameters (without equals) are now supported,
|
||||
which are used in mysql config for example.
|
||||
- Drop 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch . Applied upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 8 22:03:01 UTC 2016 - tbechtold@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package crudini
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,15 +17,13 @@
|
||||
|
||||
|
||||
Name: crudini
|
||||
Version: 0.8
|
||||
Version: 0.9
|
||||
Release: 0
|
||||
Summary: CRUD for .ini files
|
||||
License: GPL-2.0
|
||||
Group: System/Base
|
||||
Url: https://github.com/pixelb/crudini/releases
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch -- https://github.com/pixelb/crudini/commit/3c52bd938975f7c5b32d7009f109ccbd2328c16d
|
||||
Patch1: 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: python-iniparse
|
||||
|
||||
@ -34,7 +32,6 @@ A utility for manipulating ini files.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user