spec clean up
This commit is contained in:
parent
eb14d4821d
commit
b07b4b4634
12
dovecot.spec
12
dovecot.spec
@ -3,7 +3,7 @@ Name: dovecot
|
|||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.1.14
|
Version: 2.1.14
|
||||||
#global prever .rc6
|
#global prever .rc6
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
#dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
|
#dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
|
||||||
License: MIT and LGPLv2
|
License: MIT and LGPLv2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -134,6 +134,7 @@ sed -i '/DEFAULT_INCLUDES *=/s|$| '"$(pkg-config --cflags libclucene-core)|" src
|
|||||||
%build
|
%build
|
||||||
#required for fdpass.c line 125,190: dereferencing type-punned pointer will break strict-aliasing rules
|
#required for fdpass.c line 125,190: dereferencing type-punned pointer will break strict-aliasing rules
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
|
export LDFLAGS="-Wl,-z,now -Wl,-z,relro"
|
||||||
%configure \
|
%configure \
|
||||||
INSTALL_DATA="install -c -p -m644" \
|
INSTALL_DATA="install -c -p -m644" \
|
||||||
--docdir=%{_docdir}/%{name}-%{version} \
|
--docdir=%{_docdir}/%{name}-%{version} \
|
||||||
@ -157,7 +158,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|||||||
--with-ssldir=%{ssldir} \
|
--with-ssldir=%{ssldir} \
|
||||||
--with-solr \
|
--with-solr \
|
||||||
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
|
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
|
||||||
--with-systemdsystemunitdir=/lib/systemd/system/ \
|
--with-systemdsystemunitdir=%{_unitdir} \
|
||||||
%endif
|
%endif
|
||||||
--with-docs
|
--with-docs
|
||||||
|
|
||||||
@ -354,8 +355,8 @@ make check
|
|||||||
|
|
||||||
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
|
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
|
||||||
%config(noreplace) %{_sysconfdir}/tmpfiles.d/dovecot.conf
|
%config(noreplace) %{_sysconfdir}/tmpfiles.d/dovecot.conf
|
||||||
/lib/systemd/system/dovecot.service
|
%{_unitdir}/dovecot.service
|
||||||
/lib/systemd/system/dovecot.socket
|
%{_unitdir}/dovecot.socket
|
||||||
%else
|
%else
|
||||||
%{_initddir}/dovecot
|
%{_initddir}/dovecot
|
||||||
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/dovecot
|
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/dovecot
|
||||||
@ -472,6 +473,9 @@ make check
|
|||||||
%{_libdir}/%{name}/dict/libdriver_pgsql.so
|
%{_libdir}/%{name}/dict/libdriver_pgsql.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 05 2013 Michal Hlavinka <mhlavink@redhat.com> - 1:2.1.14-2
|
||||||
|
- spec clean up
|
||||||
|
|
||||||
* Thu Jan 31 2013 Michal Hlavinka <mhlavink@redhat.com> - 1:2.1.14-1
|
* Thu Jan 31 2013 Michal Hlavinka <mhlavink@redhat.com> - 1:2.1.14-1
|
||||||
- dovecot updated to 2.1.14
|
- dovecot updated to 2.1.14
|
||||||
- v2.1.11+ had a race condition where it sometimes overwrote data in
|
- v2.1.11+ had a race condition where it sometimes overwrote data in
|
||||||
|
Loading…
Reference in New Issue
Block a user