]> git.pld-linux.org Git - packages/courier-imap.git/commitdiff
- LDFLAGS hack to confuse adapter
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 4 Oct 2005 15:38:42 +0000 (15:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- adapterized
- do not move source files in %install -- breaks --short-circuit!

Changed files:
    courier-imap.spec -> 1.152

courier-imap.spec

index 294d04261cb4dcff956bfb3011af57fd06fa1958..12b64d3f91ef5c16507c262eab13d0356c52e850 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Courier-IMAP server
 Summary(pl):   Serwer Courier-IMAP
 Name:          courier-imap
 Version:       4.0.5
-Release:       0.1
+Release:       0.2
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
@@ -27,8 +27,8 @@ BuildRequires:        openssl-devel >= 0.9.7d
 BuildRequires: procps
 BuildRequires: sed >= 4.0
 BuildRequires: sysconftool
-PreReq:                %{name}-common = %{version}-%{release}
-PreReq:                rc-scripts
+Requires:      %{name}-common = %{version}-%{release}
+Requires:      rc-scripts
 Requires(post,preun):  /sbin/chkconfig
 Requires:      pam >= 0.79.0
 Provides:      imapdaemon
@@ -52,7 +52,7 @@ Courier-IMAP jest serwerem IMAP dla skrzynek pocztowych Maildir.
 Summary:       Common files for imap and pop3 daemons
 Summary(pl):   Pliki wspólne dla serwerów imap i pop3
 Group:         Networking/Daemons
-PreReq:                rc-scripts
+Requires:      rc-scripts
 Requires(pre): courier-authlib
 Requires(post,preun):  /sbin/chkconfig
 Requires:      procps
@@ -93,7 +93,7 @@ formacie Maildir.
 Summary:       Courier-IMAP POP3 Server
 Summary(pl):   Serwer Courier-IMAP POP3
 Group:         Networking/Daemons
-PreReq:                %{name}-common = %{version}-%{release}
+Requires:      %{name}-common = %{version}-%{release}
 Requires:      pam >= 0.77.3
 Provides:      pop3daemon
 Obsoletes:     pop3daemon
@@ -127,7 +127,7 @@ find -type f -a \( -name configure.in -o -name configure.ac \) | while read FILE
         cd "`dirname "$FILE"`"
 
         if [ -f Makefile.am ]; then
-                sed -i -e '/_LDFLAGS=-static/d' Makefile.am
+                               sed -i -e '/_[L]DFLAGS=-static/d' Makefile.am
         fi
 
         %{__libtoolize}
@@ -163,15 +163,14 @@ install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/pop3
 
 rm -rf $RPM_BUILD_ROOT%{_sbindir}/mk*cert
 
-mv -f imap/README README.imap
-mv -f imap/ChangeLog ChangeLog
-mv -f maildir/README.maildirquota.txt README.maildirquota
+install imap/README README.imap
+install imap/ChangeLog ChangeLog
+install maildir/README.maildirquota.txt README.maildirquota
 
-mv -f $RPM_BUILD_ROOT%{_datadir}/mk*cert \
-       $RPM_BUILD_ROOT%{_sbindir}
+mv -f $RPM_BUILD_ROOT%{_datadir}/mk*cert $RPM_BUILD_ROOT%{_sbindir}
 
-mv -f tcpd/couriertls.1 $RPM_BUILD_ROOT%{_mandir}/man8/couriertls.8
-mv -f imap/courierpop3d.8 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3d.8
+install tcpd/couriertls.1 $RPM_BUILD_ROOT%{_mandir}/man8/couriertls.8
+install imap/courierpop3d.8 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3d.8
 
 touch $RPM_BUILD_ROOT/etc/security/blacklist.{pop3,imap}
 
This page took 0.092612 seconds and 4 git commands to generate.