|
|
|
@ -39,7 +39,6 @@ BuildRequires: automake
|
|
|
|
|
BuildRequires: libtommath-devel
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
BuildRequires: libtermcap-devel
|
|
|
|
|
BuildRequires: libicu-devel
|
|
|
|
|
BuildRequires: libedit-devel
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
@ -266,7 +265,7 @@ cp .%{_datadir}/%{name}/misc/%{name}-superserver.service .%{_unitdir}/%{name}-su
|
|
|
|
|
%pre
|
|
|
|
|
# Create the firebird group if it doesn't exist
|
|
|
|
|
getent group %{name} || /usr/sbin/groupadd -r %{name}
|
|
|
|
|
getent passwd %{name} >/dev/null || /usr/sbin/useradd -d / -g %{name} -s /bin/nologin -r %{name}
|
|
|
|
|
getent passwd %{name} >/dev/null || /usr/sbin/useradd -d / -g %{name} -s /sbin/nologin -r %{name}
|
|
|
|
|
|
|
|
|
|
# Add gds_db to /etc/services if needed
|
|
|
|
|
FileName=/etc/services
|
|
|
|
@ -322,8 +321,7 @@ fi
|
|
|
|
|
%config(noreplace) %attr(0664,%{name},%{name}) %{_localstatedir}/log/%{name}/%{name}.log
|
|
|
|
|
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/logrotate.d/%{name}
|
|
|
|
|
|
|
|
|
|
%defattr(0755,root,root,0755)
|
|
|
|
|
%{_unitdir}/%{name}-superserver.service
|
|
|
|
|
%attr(0644,root,root) %{_unitdir}/%{name}-superserver.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|