[curl] drop the hide_selinux.c hack no longer needed in %check
Kamil Dudka
kdudka at fedoraproject.org
Wed Mar 6 15:37:53 UTC 2013
commit 920074f0fc73653190b7e3c2b525301c124adda2
Author: Kamil Dudka <kdudka at redhat.com>
Date: Wed Mar 6 16:24:25 2013 +0100
drop the hide_selinux.c hack no longer needed in %check
curl.spec | 8 +-------
hide_selinux.c | 8 --------
2 files changed, 1 insertions(+), 15 deletions(-)
---
diff --git a/curl.spec b/curl.spec
index 0ac3f0b..f05e2ea 100644
--- a/curl.spec
+++ b/curl.spec
@@ -6,7 +6,6 @@ License: MIT
Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
Source2: curlbuild.h
-Source3: hide_selinux.c
# fix a SIGSEGV when closing an unused multi handle (#914411)
Patch1: 0001-curl-7.29.0-da3fc1ee.patch
@@ -165,12 +164,6 @@ export LD_LIBRARY_PATH
cd tests
make %{?_smp_mflags}
-# make it possible to start a testing OpenSSH server with SELinux
-# in the enforcing mode (#521087)
-gcc -o hide_selinux.so -fPIC -shared %{SOURCE3}
-LD_PRELOAD="`readlink -f ./hide_selinux.so`:$LD_PRELOAD"
-export LD_PRELOAD
-
# use different port range for 32bit and 64bit build, thus make it possible
# to run both in parallel on the same machine
./runtests.pl -a -b%{?__isa_bits}90 -p -v
@@ -234,6 +227,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Mar 06 2013 Kamil Dudka <kdudka at redhat.com> 7.29.0-3
- switch SSL socket into non-blocking mode after handshake
+- drop the hide_selinux.c hack no longer needed in %%check
* Fri Feb 22 2013 Kamil Dudka <kdudka at redhat.com> 7.29.0-2
- fix a SIGSEGV when closing an unused multi handle (#914411)
More information about the scm-commits
mailing list