Accepting request 382476 from home:kukuk:deprecate
- Add ypdomainname and nisdomainname, too. Were removed from yp-tools. OBS-URL: https://build.opensuse.org/request/show/382476 OBS-URL: https://build.opensuse.org/package/show/network:utilities/hostname?expand=0&rev=6
This commit is contained in:
parent
a936895ad7
commit
7783e7b191
@ -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
|
Tue Sep 8 12:32:33 UTC 2015 - nemysis@openSUSE.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package hostname
|
# 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
|
# 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
|
||||||
@ -43,8 +43,7 @@ install -D -p -m 755 %{name} %{buildroot}%{_bindir}/%{name}
|
|||||||
install -d -m 755 %{buildroot}/bin/
|
install -d -m 755 %{buildroot}/bin/
|
||||||
ln -sf %{_bindir}/%{name} %{buildroot}/bin/%{name}
|
ln -sf %{_bindir}/%{name} %{buildroot}/bin/%{name}
|
||||||
install -D -p -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
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 ypdomainname nisdomainname; do
|
||||||
for prog in dnsdomainname domainname; do
|
|
||||||
ln -sf %{_bindir}/%{name} %{buildroot}/bin/$prog
|
ln -sf %{_bindir}/%{name} %{buildroot}/bin/$prog
|
||||||
ln -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/$prog
|
ln -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/$prog
|
||||||
ln -sf hostname.1 %{buildroot}%{_mandir}/man1/${prog}.1
|
ln -sf hostname.1 %{buildroot}%{_mandir}/man1/${prog}.1
|
||||||
@ -56,11 +55,17 @@ done
|
|||||||
/bin/%{name}
|
/bin/%{name}
|
||||||
/bin/domainname
|
/bin/domainname
|
||||||
/bin/dnsdomainname
|
/bin/dnsdomainname
|
||||||
|
/bin/nisdomainname
|
||||||
|
/bin/ypdomainname
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_bindir}/domainname
|
%{_bindir}/domainname
|
||||||
%{_bindir}/dnsdomainname
|
%{_bindir}/dnsdomainname
|
||||||
|
%{_bindir}/nisdomainname
|
||||||
|
%{_bindir}/ypdomainname
|
||||||
%{_mandir}/man1/%{name}.1%{ext_man}
|
%{_mandir}/man1/%{name}.1%{ext_man}
|
||||||
%{_mandir}/man1/domainname.1%{ext_man}
|
%{_mandir}/man1/domainname.1%{ext_man}
|
||||||
%{_mandir}/man1/dnsdomainname.1%{ext_man}
|
%{_mandir}/man1/dnsdomainname.1%{ext_man}
|
||||||
|
%{_mandir}/man1/nisdomainname.1%{ext_man}
|
||||||
|
%{_mandir}/man1/ypdomainname.1%{ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user