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