Accepting request 332270 from network:time

1

OBS-URL: https://build.opensuse.org/request/show/332270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netdate?expand=0&rev=15
This commit is contained in:
Stephan Kulow 2015-09-24 04:15:05 +00:00 committed by Git OBS Bridge
parent a729ef53c6
commit 5e544af37d
3 changed files with 25 additions and 52 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f282e384408565b9d7f4198f01bcdad326d27dd2e6c83d2084f2bb43b10ea802
size 7516
oid sha256:664914a9b1880a5956f56936c256ba9fe76d1d1cb4ed222a2bec447e725bf688
size 7528

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 20 16:28:33 UTC 2015 - mpluskal@suse.com
- Use url for source
- Cleanup spec file with spec-clener
-------------------------------------------------------------------
Mon May 22 20:55:50 CEST 2006 - schwab@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package netdate (Version 1.2)
# spec file for package netdate
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,20 +15,17 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: netdate
Version: 1.2
Release: 0
Summary: Set Date and Time by ARPA Internet RFC 868
License: SUSE-Public-Domain
Group: Productivity/Networking/Other
Provides: nkitb:/usr/sbin/netdate
AutoReqProv: on
Version: 1.2
Release: 713
Summary: Set Date and Time by ARPA Internet RFC 868
Url: http://www.ibiblio.org/pub/linux/system/network/sunacm/Other/netdate/
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}.dif
Url: ftp://ftp.code-monkey.de/pub/netdate/
Source: ftp://ftp.code-monkey.de/pub/netdate/netdate-%{version}.tar.bz2
Patch0: %{name}-%{version}.dif
Provides: nkitb:%{_sbindir}/netdate
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -42,52 +39,22 @@ These differences are used to find the largest group of hosts whose
times agree with each other within a certain limit. The first host in
the largest group is picked as the best host.
%prep
%setup -n netdate
%patch
%setup -q
%patch0
%build
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS" \
make
make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
install -d -m 755 $RPM_BUILD_ROOT/usr/sbin
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man8
make DESTDIR=$RPM_BUILD_ROOT/ install
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
install -d -m 755 %{buildroot}%{_prefix}/sbin
install -d -m 755 %{buildroot}%{_mandir}/man8
make DESTDIR=%{buildroot} install
%files
%defattr(-,root,root)
%doc COPYRIGHT
%doc %{_mandir}/man?/*
/usr/sbin/netdate
%{_mandir}/man?/*
%{_sbindir}/netdate
%changelog
* Mon May 22 2006 schwab@suse.de
- Don't strip binaries.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Feb 10 2004 postadal@suse.cz
- added RPM_OPT_FLAGS to CFLAGS and CXXFLAGS
* Sun Jan 11 2004 adrian@suse.de
- build as user
* Wed Nov 13 2002 kukuk@suse.de
- fix wtmp corruption [Bug #21740]
* Thu Feb 28 2002 bk@suse.de
- fix 64-bit bug: don't use signed when assinging to unsigned long
* Tue Apr 10 2001 kukuk@suse.de
- Add IPv6 support
* Thu Mar 22 2001 ro@suse.de
- added split-aliases as provides
* Mon Feb 19 2001 cihlar@suse.cz
- compile with $RPM_OPT_FLAGS and -D_GNU_SOURCE
- fixed file list
* Fri Dec 01 2000 smid@suse.cz
- new version 1.2
* Sat Apr 15 2000 kukuk@suse.de
- Initial package, split from nkitb.