X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fplatforms%2Frpms%2Fredhat%2Fbacula.spec.in;h=e11daab4b66ed9705b351fd7b19c8b317612a212;hb=6e9ee32067608861c434f73207b1b7de80a0fc26;hp=a1a6097f5037a79b20007d6e0ffeeb79bbfecf1d;hpb=26a93fe8010f0847e35af99e6ca55069ea8e1a90;p=bacula%2Fbacula diff --git a/bacula/platforms/rpms/redhat/bacula.spec.in b/bacula/platforms/rpms/redhat/bacula.spec.in index a1a6097f50..e11daab4b6 100644 --- a/bacula/platforms/rpms/redhat/bacula.spec.in +++ b/bacula/platforms/rpms/redhat/bacula.spec.in @@ -126,6 +126,12 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %{?build_fc18:%define fc18 1} %define fc22 0 %{?build_fc22:%define fc22 1} +%define fc25 0 +%{?build_fc25:%define fc25 1} +%define fc26 0 +%{?build_fc26:%define fc26 1} +%define fc27 0 +%{?build_fc27:%define fc27 1} # RedHat Enterprise builds %define rhel3 0 %{?build_rhel3:%define rhel3 1} @@ -202,7 +208,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz # if the platform is using systemd %define usesystemd 0 -%if %{rhel7} || %{fc22} || %{centos7} +%if %{rhel7} || %{fc22}|| %{fc25} || %{fc26} || %{fc27} || %{centos7} %define usesystemd 1 %endif @@ -221,7 +227,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %define rhat 1 %endif %define fed 0 -%if %{fc16} || %{fc17} || %{fc18} || %{fc22} +%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} || %{fc27} %define fed 1 %endif %define suse 0 @@ -284,7 +290,7 @@ exit 1 %{?build_x86_64:%define x86_64 1} # check what distribution we are -%if %{fc16} || %{fc17} || %{fc18} || %{fc22} +%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} || %{fc27} %define _dist %(grep Fedora /etc/redhat-release) %endif %if %{centos7} || %{centos6} @@ -698,6 +704,7 @@ rm -f $RPM_BUILD_ROOT%{script_dir}/stopmysql # Remove symlinks #rm -f $RPM_BUILD_ROOT%{_libdir}/libbaccats.so #rm -f $RPM_BUILD_ROOT%{_libdir}/libbaccats-%{version}.so +rm -f $RPM_BUILD_ROOT%{_libdir}/libbacsd.la # install the init scripts %if !%{usesystemd} @@ -852,6 +859,7 @@ rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt %attr(-, root, %{daemon_group}) %{script_dir}/bacula-ctl-fd %attr(-, root, %{daemon_group}) %{script_dir}/bacula-ctl-sd %attr(-, root, %{daemon_group}) %{script_dir}/tapealert +%attr(-, root, %{daemon_group}) %{script_dir}/baculabackupreport %attr(-, root, %{daemon_group}) %{plugin_dir}/bpipe-fd.so %attr(-, root, %{daemon_group}) %{_sbindir}/dbcheck @@ -921,6 +929,8 @@ rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt %{_mandir}/man1/bat.1.%{manpage_ext} %_prefix/share/doc/* +%attr(-, root, %{daemon_group}) %{script_dir}/bacula-tray-monitor.desktop + %doc ../Release_Notes-%{version}-%{release}.txt %endif