update to 1.27
This commit is contained in:
parent
114adc4db9
commit
f019f18f8c
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
||||
/chrony-1.27-pre1.tar.gz
|
||||
/chrony-1.27-pre1-git1ca844.patch.gz
|
||||
/chrony-1.27.tar.gz
|
||||
|
12
chrony.spec
12
chrony.spec
@ -1,8 +1,6 @@
|
||||
%define prerelease -pre1
|
||||
%define gitpatch git1ca844
|
||||
Name: chrony
|
||||
Version: 1.27
|
||||
Release: 0.5.pre1%{?gitpatch:.%{gitpatch}}%{?dist}
|
||||
Release: 1%{?gitpatch:.%{gitpatch}}%{?dist}
|
||||
Summary: An NTP client/server
|
||||
|
||||
Group: System Environment/Daemons
|
||||
@ -22,7 +20,7 @@ Source9: chrony-wait.service
|
||||
BuildRequires: libcap-devel libedit-devel nss-devel pps-tools-devel bison texinfo
|
||||
|
||||
Requires(pre): shadow-utils
|
||||
Requires(post): systemd-units info chkconfig
|
||||
Requires(post): systemd-units info
|
||||
Requires(preun): systemd-units info
|
||||
Requires(postun): systemd-units
|
||||
|
||||
@ -50,12 +48,12 @@ touch -r %{SOURCE1} chrony.conf
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS"
|
||||
%ifarch %{sparc}
|
||||
CFLAGS="$CFLAGS -pie -fPIE"
|
||||
CFLAGS="$CFLAGS -fPIE"
|
||||
%else
|
||||
CFLAGS="$CFLAGS -pie -fpie"
|
||||
CFLAGS="$CFLAGS -fpie"
|
||||
%endif
|
||||
export CFLAGS
|
||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||
export LDFLAGS="-pie -Wl,-z,relro,-z,now"
|
||||
|
||||
%configure \
|
||||
--docdir=%{_docdir} \
|
||||
|
Loading…
Reference in New Issue
Block a user