Accepting request 397055 from network:utilities

- version 0.3.1
- filter devices not supported by libvirt API (fate#320557)
  [- 0001-blacklist-ifcfg-files-ending-in-.orig-or-tilde-bnc-8.patch]

  [+ 0001-blacklist-ifcfg-files-ending-in-.orig-or-tilde-bnc-8.patch]

OBS-URL: https://build.opensuse.org/request/show/397055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netcontrol?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2016-05-23 14:39:24 +00:00 committed by Git OBS Bridge
commit 39c2e64a51
5 changed files with 14 additions and 36 deletions

View File

@ -1,27 +0,0 @@
From 292d93f5f3cbb9d343b75fb4fc570140004d93f5 Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <mt@suse.de>
Date: Tue, 6 May 2014 14:13:21 +0200
Subject: [PATCH] blacklist ifcfg files ending in .orig or tilde (bnc#871600)
Upstream: yes
References: bnc#871600
---
src/backend-suse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend-suse.c b/src/backend-suse.c
index dff529a..0aed475 100644
--- a/src/backend-suse.c
+++ b/src/backend-suse.c
@@ -803,7 +803,7 @@ static int
__suse_ifcfg_valid_name(const char *name)
{
const char *bl_suffix[] = {
- ".old", ".bak", ".scpmbackup",
+ "~", ".old", ".bak", ".orig", ".scpmbackup",
".rpmnew", ".rpmsave", ".rpmorig"
};
size_t nlen, slen, n;
--
1.8.4.5

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:696d7b1636b066dddb617f4029777193f7b4928f7dd099d1e04c9692d27bce06
size 357489

3
netcontrol-0.3.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c9ba1fac7310e6009d516bccfdafe329ea518d87cefde49958dd55771843a5da
size 359500

View File

@ -1,5 +1,12 @@
-------------------------------------------------------------------
Wed Sep 3 01:48:48 CEST 2014 - ro@suse.de
Fri May 20 15:30:41 UTC 2016 - mt@suse.de
- version 0.3.1
- filter devices not supported by libvirt API (fate#320557)
[- 0001-blacklist-ifcfg-files-ending-in-.orig-or-tilde-bnc-8.patch]
-------------------------------------------------------------------
Wed Sep 3 01:41:37 CEST 2014 - ro@suse.de
- sanitize release line in specfile
@ -7,7 +14,7 @@ Wed Sep 3 01:48:48 CEST 2014 - ro@suse.de
Tue May 6 11:58:04 UTC 2014 - mt@suse.de
- blacklist ifcfg files ending in .orig or tilde (bnc#871600)
[+0001-blacklist-ifcfg-files-ending-in-.orig-or-tilde-bnc-8.patch]
[+ 0001-blacklist-ifcfg-files-ending-in-.orig-or-tilde-bnc-8.patch]
-------------------------------------------------------------------
Fri Jan 10 10:55:26 UTC 2014 - mt@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package netcontrol
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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,7 +17,7 @@
Name: netcontrol
Version: 0.3.0
Version: 0.3.1
Release: 0
Summary: A network configuration library
License: LGPL-2.1+
@ -50,7 +50,6 @@ Requires: sysconfig >= 0.80.0
%else
Requires: sysconfig >= 0.71.0
%endif
Patch1: 0001-blacklist-ifcfg-files-ending-in-.orig-or-tilde-bnc-8.patch
%description
A interim network configuration library, currently implementing the
@ -103,7 +102,6 @@ Authors:
%prep
%setup -q
%patch1 -p1
%build
export CFLAGS="-W -Wall $RPM_OPT_FLAGS"