fixing return codes (#602291)
This commit is contained in:
parent
86cb1e8cfb
commit
dffb250953
10
netlabel_tools-0.19-return_codes.patch
Normal file
10
netlabel_tools-0.19-return_codes.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- 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);
|
||||
@ -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.net/netlabel/%{name}-%{version}.tar.gz
|
||||
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@redhat.com> - 0.19-8
|
||||
- fixing return codes (#602291)
|
||||
|
||||
* Wed Jun 16 2010 Peter Vrabec <pvrabec@redhat.com> - 0.19-7
|
||||
- make initscript LSB compliant (#522818)
|
||||
- show version of netlabelctl and libnetlabel in help (#602577)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user