Accepting request 384018 from network:utilities
1 OBS-URL: https://build.opensuse.org/request/show/384018 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hostname?expand=0&rev=3
This commit is contained in:
commit
0b37af0c7d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 31 14:25:58 CEST 2016 - kukuk@suse.de
|
||||
|
||||
- Add ypdomainname and nisdomainname, too. Were removed from yp-tools.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 8 12:32:33 UTC 2015 - nemysis@openSUSE.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package hostname
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 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
|
||||
@ -43,8 +43,7 @@ install -D -p -m 755 %{name} %{buildroot}%{_bindir}/%{name}
|
||||
install -d -m 755 %{buildroot}/bin/
|
||||
ln -sf %{_bindir}/%{name} %{buildroot}/bin/%{name}
|
||||
install -D -p -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
# do not install ypdomainname and nisdomainname which are provided by yp-tools
|
||||
for prog in dnsdomainname domainname; do
|
||||
for prog in dnsdomainname domainname ypdomainname nisdomainname; do
|
||||
ln -sf %{_bindir}/%{name} %{buildroot}/bin/$prog
|
||||
ln -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/$prog
|
||||
ln -sf hostname.1 %{buildroot}%{_mandir}/man1/${prog}.1
|
||||
@ -56,11 +55,17 @@ done
|
||||
/bin/%{name}
|
||||
/bin/domainname
|
||||
/bin/dnsdomainname
|
||||
/bin/nisdomainname
|
||||
/bin/ypdomainname
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/domainname
|
||||
%{_bindir}/dnsdomainname
|
||||
%{_bindir}/nisdomainname
|
||||
%{_bindir}/ypdomainname
|
||||
%{_mandir}/man1/%{name}.1%{ext_man}
|
||||
%{_mandir}/man1/domainname.1%{ext_man}
|
||||
%{_mandir}/man1/dnsdomainname.1%{ext_man}
|
||||
%{_mandir}/man1/nisdomainname.1%{ext_man}
|
||||
%{_mandir}/man1/ypdomainname.1%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user