Matthias Saou (thias) wrote:
%configure \
- --localstatedir="/var/run" \
- --with-includes="%{_includedir}%{!?_without_tls:${OPENSSL_INC}}%{?_with_mysql::%{_includedir}/mysql}" \
- %{?_with_ipv6:--enable-ipv6} \
- %{?_with_mysql:--with-libraries="%{_libdir}/mysql"} \
- %{?_with_postgresql:--with-libraries="%{_libdir}"} \
- --with-modules=mod_readme:mod_auth_pam%{?_with_ldap::mod_ldap}%{?_with_mysql::mod_sql:mod_sql_mysql}%{?_with_postgresql::mod_sql:mod_sql_postgres}%{!?_without_tls::mod_tls}
+ --libexecdir="%{_libexecdir}/proftpd" \
+ --localstatedir="%{_var}/run" \
+ --enable-ctrls \
+ --enable-facl \
+ --enable-dso \
--enable-dso adds this to the Makefile:
MAIN_LDFLAGS=-L$(top_srcdir)/lib/libltdl -dlopen self -export-dynamic
-rpath $(DESTDIR)$(sbindir)
which results in this:
rpmlint proftpd-1.3.0-1.fc6.i386.rpm
E: proftpd binary-or-shlib-defines-rpath /usr/sbin/proftpd
['/var/tmp/proftpd-1.3.0-1.fc6-root/usr/sbin']
Should the $(DESTDIR) be removed here or is it worse than that?
Paul.
--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list