rpms/dovecot/F-12 dovecot.spec,1.138,1.139

Michal Hlavinka mhlavink at fedoraproject.org
Wed Sep 30 13:46:44 UTC 2009


Author: mhlavink

Update of /cvs/extras/rpms/dovecot/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19340

Modified Files:
	dovecot.spec 
Log Message:
build with libcap enabled



Index: dovecot.spec
===================================================================
RCS file: /cvs/extras/rpms/dovecot/F-12/dovecot.spec,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -p -r1.138 -r1.139
--- dovecot.spec	17 Sep 2009 15:08:17 -0000	1.138
+++ dovecot.spec	30 Sep 2009 13:46:44 -0000	1.139
@@ -2,7 +2,7 @@ Summary: Secure imap and pop3 server
 Name: dovecot
 Epoch: 1
 Version: 1.2.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT and LGPLv2 and BSD with advertising
 Group: System Environment/Daemons
 
@@ -39,7 +39,7 @@ Patch2: dovecot-1.0.beta2-mkcert-permiss
 Patch3: dovecot-1.0.rc7-mkcert-paths.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: openssl-devel, pam-devel, zlib-devel
+BuildRequires: openssl-devel, pam-devel, zlib-devel, libcap-devel
 BuildRequires: libtool autoconf automake
 
 # gettext-devel is needed for running autoconf because of the
@@ -184,6 +184,7 @@ autoreconf -i -f
     INSTALL_DATA="install -c -p -m644" \
     --enable-header-install      \
     --disable-static             \
+    --with-libcap                \
 %if %{build_postgres}
     --with-pgsql                 \
 %endif
@@ -242,8 +243,8 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name
 
 install -p -m 755 src/plugins/convert/convert-tool $RPM_BUILD_ROOT%{_libexecdir}/%{name}
 
-mkdir -p $RPM_BUILD_ROOT%{_initrddir}
-install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/dovecot
+mkdir -p $RPM_BUILD_ROOT%{_initddir}
+install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initddir}/dovecot
 
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
 install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/dovecot
@@ -434,6 +435,9 @@ fi
 
 
 %changelog
+* Tue Sep 29 2009 Michal Hlavinka <mhlavink at redhat.com> - 1:1.2.5-2
+- build with libcap enabled
+
 * Thu Sep 17 2009 Michal Hlavinka <mhlavink at redhat.com> - 1:1.2.5-1
 - updated to dovecot 1.2.5
 - Authentication: DIGEST-MD5 and RPA mechanisms no longer require




More information about the scm-commits mailing list