Remove dash build requirement
This commit is contained in:
parent
6e8326d9d5
commit
4df972f69d
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: bacula
|
Name: bacula
|
||||||
Version: 11.0.2
|
Version: 11.0.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
||||||
# See LICENSE for details
|
# See LICENSE for details
|
||||||
License: AGPLv3 with exceptions
|
License: AGPLv3 with exceptions
|
||||||
@ -65,6 +65,7 @@ BuildRequires: ncurses-devel
|
|||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
|
BuildRequires: sed
|
||||||
BuildRequires: sqlite-devel
|
BuildRequires: sqlite-devel
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@ -295,6 +296,9 @@ autoconf -I autoconf/ -o configure autoconf/configure.in
|
|||||||
# Remove execution permissions from files we're packaging as docs later on
|
# Remove execution permissions from files we're packaging as docs later on
|
||||||
find updatedb -type f | xargs chmod -x
|
find updatedb -type f | xargs chmod -x
|
||||||
|
|
||||||
|
# Remove dash requirement:
|
||||||
|
sed -i -e 's|bin/dash|/usr/bin/bash|g' scripts/baculabackupreport.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -I%{_includedir}/ncurses"
|
export CFLAGS="%{optflags} -I%{_includedir}/ncurses"
|
||||||
export CPPFLAGS="%{optflags} -I%{_includedir}/ncurses"
|
export CPPFLAGS="%{optflags} -I%{_includedir}/ncurses"
|
||||||
@ -628,6 +632,9 @@ exit 0
|
|||||||
%{_libdir}/nagios/plugins/check_bacula
|
%{_libdir}/nagios/plugins/check_bacula
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 16 2021 Simone Caronni <negativo17@gmail.com> - 11.0.2-2
|
||||||
|
- Remove dash build requirement.
|
||||||
|
|
||||||
* Fri Apr 16 2021 Simone Caronni <negativo17@gmail.com> - 11.0.2-1
|
* Fri Apr 16 2021 Simone Caronni <negativo17@gmail.com> - 11.0.2-1
|
||||||
- Update to 11.0.2.
|
- Update to 11.0.2.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user