[packages/courier-authlib] noarch openldap schema package

glen glen at pld-linux.org
Fri Aug 21 13:30:56 CEST 2015


commit 70773c4ee83282b06fbd8561c1a53b10429708a7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Aug 21 14:30:52 2015 +0300

    noarch openldap schema package

 courier-authlib.spec | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/courier-authlib.spec b/courier-authlib.spec
index 3b42f83..a7dd19c 100644
--- a/courier-authlib.spec
+++ b/courier-authlib.spec
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/courier-authlib.git/commitdiff/70773c4ee83282b06fbd8561c1a53b10429708a7



More information about the pld-cvs-commit mailing list