rpms/proftpd/devel .cvsignore, 1.7, 1.8 proftpd.init, 1.4, 1.5 proftpd.spec, 1.13, 1.14 sources, 1.7, 1.8

Paul Howarth paul at city-fan.org
Thu Apr 27 16:38:16 UTC 2006


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.




More information about the fedora-extras-list mailing list