- Use more modern macros for building
- Do not rely on inaccessible source url anymore OBS-URL: https://build.opensuse.org/package/show/network:time/netdate?expand=0&rev=5
This commit is contained in:
parent
5e544af37d
commit
846d89b0ad
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 5 13:40:22 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Use more modern macros for building
|
||||||
|
- Do not rely on inaccessible source url anymore
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Sep 20 16:28:33 UTC 2015 - mpluskal@suse.com
|
Sun Sep 20 16:28:33 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
21
netdate.spec
21
netdate.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package netdate
|
# spec file for package netdate
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -21,12 +21,10 @@ Version: 1.2
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Set Date and Time by ARPA Internet RFC 868
|
Summary: Set Date and Time by ARPA Internet RFC 868
|
||||||
License: SUSE-Public-Domain
|
License: SUSE-Public-Domain
|
||||||
Group: Productivity/Networking/Other
|
URL: ftp://ftp.code-monkey.de/pub/netdate/
|
||||||
Url: ftp://ftp.code-monkey.de/pub/netdate/
|
Source: netdate-%{version}.tar.bz2
|
||||||
Source: ftp://ftp.code-monkey.de/pub/netdate/netdate-%{version}.tar.bz2
|
|
||||||
Patch0: %{name}-%{version}.dif
|
Patch0: %{name}-%{version}.dif
|
||||||
Provides: nkitb:%{_sbindir}/netdate
|
Provides: nkitb:%{_sbindir}/netdate
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Netdate takes a list of names of Internet hosts as arguments, selects
|
Netdate takes a list of names of Internet hosts as arguments, selects
|
||||||
@ -44,17 +42,16 @@ the largest group is picked as the best host.
|
|||||||
%patch0
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -m 755 %{buildroot}%{_prefix}/sbin
|
install -d -m 755 %{buildroot}%{_sbindir}
|
||||||
install -d -m 755 %{buildroot}%{_mandir}/man8
|
install -d -m 755 %{buildroot}%{_mandir}/man8
|
||||||
make DESTDIR=%{buildroot} install
|
%make_install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license COPYRIGHT
|
||||||
%doc COPYRIGHT
|
|
||||||
%{_mandir}/man?/*
|
|
||||||
%{_sbindir}/netdate
|
%{_sbindir}/netdate
|
||||||
|
%{_mandir}/man8/netdate.8%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user