[packages/netcf] - updated to 0.2.2 - adjusted pld_interfaces patch
qboosh
qboosh at pld-linux.org
Wed Aug 29 20:40:22 CEST 2012
commit 6b73c9755b9d32419c7425522c8ecd4ddbd6e8f2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Aug 29 20:40:29 2012 +0200
- updated to 0.2.2
- adjusted pld_interfaces patch
netcf-pld_interfaces.patch | 4 ++--
netcf.spec | 12 +++++++-----
2 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/netcf.spec b/netcf.spec
index 46e8fb7..b1ebfa6 100644
--- a/netcf.spec
+++ b/netcf.spec
@@ -1,19 +1,20 @@
-# PLDify netcf-transaction more
+# TODO: enhance pld_interfaces patch, including PLDifing netcf-transaction (or disabling it)
+# maybe create drv_pld.c?
Summary: netcf - a cross-platform network configuration library
Summary(pl.UTF-8): netcf - wieloplatformowa biblioteka do konfiguracji sieci
Name: netcf
-Version: 0.1.9
+Version: 0.2.2
Release: 1
License: GPL v2
Group: Administration/System
Source0: https://fedorahosted.org/released/netcf/%{name}-%{version}.tar.gz
-# Source0-md5: 4d62010a79d56c12438969da9035b63c
+# Source0-md5: fbcd47101797b8fcd9519e22002cd200
Patch0: %{name}-pld_interfaces.patch
URL: https://fedorahosted.org/netcf/
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1:1.11
BuildRequires: augeas-devel >= 0.5.0
-BuildRequires: libnl1-devel >= 1.1
+BuildRequires: libnl-devel >= 3.2
BuildRequires: libtool
BuildRequires: libxml2-devel >= 2.0
BuildRequires: libxslt-devel
@@ -79,7 +80,7 @@ Ten pakiet zawiera statyczną bibliotekę netcf.
%{__automake}
%configure \
--disable-silent-rules \
- --with-init-script=redhat
+ --with-driver=redhat
%{__make}
@@ -100,6 +101,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/ncftool
%attr(754,root,root) /etc/rc.d/init.d/netcf-transaction
%{_datadir}/netcf
+%{_mandir}/man1/ncftool.1*
%files libs
%defattr(644,root,root,755)
diff --git a/netcf-pld_interfaces.patch b/netcf-pld_interfaces.patch
index 3f73962..e3ccb73 100644
--- a/netcf-pld_interfaces.patch
+++ b/netcf-pld_interfaces.patch
@@ -1,5 +1,5 @@
---- netcf-0.1.7/src/drv_initscripts.c~ 2010-09-23 14:13:13.000000000 +0200
-+++ netcf-0.1.7/src/drv_initscripts.c 2011-03-28 20:11:43.092188473 +0200
+--- netcf-0.2.2/src/drv_redhat.c.orig 2012-08-01 05:12:43.000000000 +0200
++++ netcf-0.2.2/src/drv_redhat.c 2012-08-29 19:49:20.078576458 +0200
@@ -52,14 +52,14 @@
"/files/etc/sysconfig/network-scripts";
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/netcf.git/commitdiff/6b73c9755b9d32419c7425522c8ecd4ddbd6e8f2
More information about the pld-cvs-commit
mailing list