]> git.pld-linux.org Git - packages/pure-ftpd.git/commitdiff
- defattr for openldap-schema-pure-ftpd subpackage
authorshadzik <shadzik@pld-linux.org>
Sat, 17 Feb 2007 00:35:33 +0000 (00:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- no need to install the file when --with ldap bcond is active (the file is always present)

Changed files:
    pure-ftpd.spec -> 1.156

pure-ftpd.spec

index ae8db8bb12817cb300ced14db04abfcbd92702a3..6782ad091e11c491a2204b6a808e1324067f603a 100644 (file)
@@ -158,11 +158,11 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 
 %{?with_ldap:install pureftpd-ldap.conf $RPM_BUILD_ROOT%{_sysconfdir}/pureftpd-ldap.conf}
-%{?with_ldap:install pureftpd.schema $RPM_BUILD_ROOT%{_datadir}/openldap/schema/pureftpd.schema}
 %{?with_mysql:install pureftpd-mysql.conf $RPM_BUILD_ROOT%{_sysconfdir}/pureftpd-mysql.conf}
 %{?with_pgsql:install pureftpd-pgsql.conf $RPM_BUILD_ROOT%{_sysconfdir}/pureftpd-pgsql.conf}
 install configuration-file/pure-ftpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/pureftpd.conf
 %{!?with_extra:install configuration-file/pure-config.pl $RPM_BUILD_ROOT%{_sbindir}}
+install pureftpd.schema $RPM_BUILD_ROOT%{_datadir}/openldap/schema/pureftpd.schema
 touch $RPM_BUILD_ROOT/etc/security/blacklist.ftp
 
 ln -s vhosts $RPM_BUILD_ROOT%{_sysconfdir}/pure-ftpd
@@ -211,4 +211,4 @@ fi
 %lang(ru) %{_mandir}/ru/man5/ftpusers*
 
 %files -n openldap-schema-pure-ftpd
-%{_datadir}/openldap/schema/pureftpd.schema
+%defattr(644,root,root,755) %{_datadir}/openldap/schema/pureftpd.schema
This page took 0.095545 seconds and 4 git commands to generate.