17 |
|
|
18 |
Name: bind |
Name: bind |
19 |
Version: %{major_version}%{dotpatch} |
Version: %{major_version}%{dotpatch} |
20 |
Release: %mkrel 1 |
Release: %mkrel 2 |
21 |
Summary: A DNS (Domain Name System) server |
Summary: A DNS (Domain Name System) server |
22 |
License: ISC |
License: ISC |
23 |
Group: System/Servers |
Group: System/Servers |
477 |
%_pre_useradd named /var/lib/named /bin/false |
%_pre_useradd named /var/lib/named /bin/false |
478 |
|
|
479 |
%post |
%post |
480 |
|
if [ "$1" -gt 1 ]; then |
481 |
|
# upgrade |
482 |
|
mv -f %{chroot_prefix}/var/named/* /var/named/ |
483 |
|
rm -rf %{chroot_prefix}%{_libdir}/openssl-* |
484 |
|
fi |
485 |
%_tmpfilescreate named |
%_tmpfilescreate named |
486 |
%_post_service named |
%_post_service named |
487 |
|
|