Remove bundled libraries at build time

This commit is contained in:
My Karlsson 2018-03-01 18:23:25 +01:00
parent be30741f94
commit 6ac47b08e2

View File

@ -2,7 +2,7 @@
Name: syslog-ng
Version: 3.14.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Next-generation syslog server
Group: System Environment/Daemons
@ -166,9 +166,10 @@ developing applications that use %{name}.
%prep
%autosetup -p 1
# Remove bundled copy of rabbitmq-c, otherwise configure will run there even
# though building with --with-librabbitmq-client=no.
# Remove bundled libraries
rm -rf lib/ivykis
rm -rf modules/afamqp/rabbitmq-c
rm -rf modules/afmongodb/mongo-c-driver
# fix perl path
%{__sed} -i 's|^#!/usr/local/bin/perl|#!%{__perl}|' contrib/relogger.pl
@ -394,6 +395,9 @@ fi
%changelog
* Thu Mar 01 2018 My Karlsson <mk@acc.umu.se> - 3.14.1-3
- Remove bundled libraries at build time
* Thu Mar 01 2018 My Karlsson <mk@acc.umu.se> - 3.14.1-2
- Disable configuring of rabbitmq-c