]> git.pld-linux.org Git - packages/ntp.git/blobdiff - ntp.spec
- up to 4.2.8p15
[packages/ntp.git] / ntp.spec
index b97fbb9de2e1dd87ec753d31a5c9cb15f040f1ee..970901f3a8c1546c99acde82a980be5102cab4bb 100644 (file)
--- a/ntp.spec
+++ b/ntp.spec
@@ -9,17 +9,16 @@
 %bcond_without sntp    # disable building sntp and sntp/tests
 %bcond_with    seccomp         # enable experimental support for libseccomp sandboxing
 
-%include       /usr/lib/rpm/macros.perl
 Summary:       Network Time Protocol utilities
 Summary(pl.UTF-8):     Narzędzia do synchronizacji czasu (Network Time Protocol)
 Summary(pt_BR.UTF-8):  Network Time Protocol versão 4
 Name:          ntp
-Version:       4.2.8p8
-Release:       10
+Version:       4.2.8p15
+Release:       1
 License:       distributable
 Group:         Networking/Daemons
 Source0:       https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/%{name}-%{version}.tar.gz
-# Source0-md5: 4a8636260435b230636f053ffd070e34
+# Source0-md5: e1e6b23d2fc75cced41801dbcd6c2561
 Source1:       %{name}.conf
 Source2:       %{name}.keys
 Source3:       %{name}d.init
@@ -31,12 +30,13 @@ Source7:    %{name}-manpages.tar.gz
 Source10:      %{name}date-wrapper
 Source11:      %{name}d.service
 Source12:      %{name}date.service
-Source13:      http://www.ietf.org/timezones/data/leap-seconds.list
-# Source13-md5:        8a163c7649ea4fe6aa57ddefbcddc83c
+Source13:      https://www.ietf.org/timezones/data/leap-seconds.list
+# Source13-md5:        961f9b603309f2d12dcb420c054eff5f
 Patch0:                %{name}-build.patch
 Patch1:                %{name}-no_libelf.patch
 Patch2:                %{name}-ipv6.patch
 Patch3:                %{name}-nano.patch
+Patch4:                threadstack-sysconf.patch
 # FC patches + 100
 Patch101:      %{name}-4.2.6p1-sleep.patch
 Patch102:      %{name}-4.2.6p1-droproot.patch
@@ -60,6 +60,8 @@ BuildRequires:        libtool
 BuildRequires: net-snmp-devel
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: pciutils-devel
+# AUTO: -- checking for pkg-config... no
+BuildRequires: pkgconfig
 BuildRequires: readline-devel >= 4.2
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRequires: rpmbuild(macros) >= 1.626
@@ -104,7 +106,7 @@ Requires(pre):      /usr/bin/getgid
 Requires(pre): /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
 Requires(post,preun,postun):   systemd-units >= 38
-Requires:      autogen-libs >= 5.18.12
+%requires_ge autogen-libs
 Requires:      libgcc
 Requires:      rc-scripts >= 0.4.3.0
 Requires:      systemd-units >= 38
@@ -178,9 +180,7 @@ Summary:    MIBs for NTP time entities
 Summary(pl.UTF-8):     Pliki MIB dla elementów czasu NTP
 Group:         Applications/System
 Requires:      mibs-dirs
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description -n mibs-ntp
 The Management Information Base for NTP time entities.
@@ -226,9 +226,7 @@ Summary:    HTML documentation for ntp
 Summary(pl.UTF-8):     Dokumentacja HTML dla ntp
 Summary(pt_BR.UTF-8):  Documentação adicional para o pacote ntp
 Group:         Documentation
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description doc-html
 HTML documentation for ntp.
@@ -245,6 +243,7 @@ Este pacote contém documentação adicional sobre o NTP versão 4.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 ## FC patches
 #%patch101 -p1
This page took 0.043752 seconds and 4 git commands to generate.