]> git.pld-linux.org Git - packages/courier-authlib.git/commitdiff
noarch openldap schema package auto/th/courier-authlib-0.65.0-2
authorElan Ruusamäe <glen@delfi.ee>
Fri, 21 Aug 2015 11:30:52 +0000 (14:30 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 21 Aug 2015 11:30:52 +0000 (14:30 +0300)
courier-authlib.spec

index 3b42f833585a38b8cf687fbc192b98a9637174c4..a7dd19c5b3dc1e9664342fca7c20666524bb9706 100644 (file)
@@ -6,7 +6,7 @@ Summary:        Courier authentication library
 Summary(pl.UTF-8):     Biblioteka uwierzytelniania Couriera
 Name:          courier-authlib
 Version:       0.65.0
-Release:       1
+Release:       2
 License:       GPL v3 with OpenSSL exception
 Group:         Networking/Daemons
 Source0:       http://downloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2
@@ -77,8 +77,8 @@ Requires:     %{name} = %{version}-%{release}
 %{?with_ldap:Requires: %{name}-authldap = %{version}-%{release}}
 Requires:      %{name}-authmysql = %{version}-%{release}
 Requires:      %{name}-authpgsql = %{version}-%{release}
-Requires:      %{name}-authuserdb = %{version}-%{release}
 Requires:      %{name}-authpipe = %{version}-%{release}
+Requires:      %{name}-authuserdb = %{version}-%{release}
 
 %description devel
 This package contains the development files needed to compile Courier
@@ -220,6 +220,9 @@ Group:              Networking/Daemons
 Requires(post,postun): sed >= 4.0
 Requires:      openldap-servers
 Requires:      sed >= 4.0
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description -n openldap-schema-courier
 This package contains Courier authldap.schema for openldap.
@@ -273,9 +276,9 @@ rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}/authlib/userdb,%{schemadir},%{_bindir}}
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/courier-authlib
-install authldap.schema $RPM_BUILD_ROOT%{schemadir}/courier.schema
-install makedat/makedat $RPM_BUILD_ROOT%{_bindir}/makedat
+install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/courier-authlib
+cp -p authldap.schema $RPM_BUILD_ROOT%{schemadir}/courier.schema
+install -p makedat/makedat $RPM_BUILD_ROOT%{_bindir}/makedat
 
 # make config files
 ./sysconftool $RPM_BUILD_ROOT%{_sysconfdir}/authlib/*.dist
This page took 0.210956 seconds and 4 git commands to generate.