rpms/netlabel_tools/devel netlabel_tools-0.19-return_codes.patch, NONE, 1.1 netlabel_tools.spec, 1.18, 1.19
Peter Vrabec
pvrabec at fedoraproject.org
Thu Jun 17 09:44:04 UTC 2010
Author: pvrabec
Update of /cvs/extras/rpms/netlabel_tools/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31956
Modified Files:
netlabel_tools.spec
Added Files:
netlabel_tools-0.19-return_codes.patch
Log Message:
fixing return codes (#602291)
netlabel_tools-0.19-return_codes.patch:
main.c | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE netlabel_tools-0.19-return_codes.patch ---
--- netlabel_tools-0.19/netlabelctl/main.c 2009-01-05 16:24:16.000000000 -0500
+++ netlabel_tools-0.19.new/netlabelctl/main.c 2010-06-17 02:54:06.864494476 -0400
@@ -352,6 +352,7 @@
fprintf(stderr,
MSG_ERR("unknown or missing module '%s'\n"),
module_name);
+ ret_val = 1;
goto exit;
}
ret_val = module_main(argc - optind - 1, argv + optind + 1);
Index: netlabel_tools.spec
===================================================================
RCS file: /cvs/extras/rpms/netlabel_tools/devel/netlabel_tools.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- netlabel_tools.spec 16 Jun 2010 11:48:23 -0000 1.18
+++ netlabel_tools.spec 17 Jun 2010 09:44:04 -0000 1.19
@@ -1,7 +1,7 @@
Summary: Tools to manage the Linux NetLabel subsystem
Name: netlabel_tools
Version: 0.19
-Release: 7%{?dist}
+Release: 8%{?dist}
License: GPLv2
Group: System Environment/Daemons
URL: http://netlabel.sf.net/
@@ -9,6 +9,7 @@ Source0: http://downloads.sourceforge.ne
Source1: netlabel
Source2: netlabel.rules
Patch1: netlabel_tools-0.17-new-hdrs.patch
+Patch2: netlabel_tools-0.19-return_codes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}
BuildRequires: kernel-headers >= 2.6.18
BuildRequires: libnl-devel
@@ -25,6 +26,7 @@ configure the kernel subsystem.
# Build fixes.
%patch1 -p1 -b .new-hdrs
+%patch2 -p1 -b .rc
%build
# Don't use _smp_mflags, it's small and a hand crafted Makefile
@@ -51,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_mandir}/man8/*
%changelog
+* Thu Jun 17 2010 Peter Vrabec <pvrabec at redhat.com> - 0.19-8
+- fixing return codes (#602291)
+
* Wed Jun 16 2010 Peter Vrabec <pvrabec at redhat.com> - 0.19-7
- make initscript LSB compliant (#522818)
- show version of netlabelctl and libnetlabel in help (#602577)
More information about the scm-commits
mailing list