OBS fixes for Debian, SLE15.

This commit is contained in:
Alexander Shaduri
2021-03-12 14:34:51 +04:00
parent 58919f3dae
commit ca9e83ce9b
3 changed files with 14 additions and 4 deletions
@@ -0,0 +1,9 @@
Format: 1.0
Source: gsmartcontrol
Binary: gsmartcontrol
Architecture: any
Version: git+nmu1
Maintainer: Alexander Shaduri <ashaduri@gmail.com>
Homepage: https://gsmartcontrol.shaduri.dev/
Standards-Version: 3.7.3
Build-Depends: cmake (>= 3.12.0), debhelper (>= 5), libgtkmm-3.0-dev (>= 3.4.0), libpcre3-dev, build-essential, bzr
+1 -1
View File
@@ -6,4 +6,4 @@ Version: git+nmu1
Maintainer: Alexander Shaduri <ashaduri@gmail.com>
Homepage: https://gsmartcontrol.shaduri.dev/
Standards-Version: 3.7.3
Build-Depends: cmake (>= 3.13.0), debhelper (>= 5), libgtkmm-3.0-dev (>= 3.4.0), libpcre3-dev, build-essential
Build-Depends: cmake (>= 3.12.0), debhelper (>= 5), libgtkmm-3.0-dev (>= 3.4.0), libpcre3-dev, build-essential
+4 -3
View File
@@ -25,7 +25,8 @@ Group: Hardware/Other
%if 0%{?suse_version}
Requires: smartmontools >= 5.43 xterm
Requires: polkit bash
BuildRequires: cmake >= 3.13.0 gcc-c++ libstdc++-devel pcre-devel gtkmm3-devel >= 3.4.0
# libX11-devel is required to resove pkgconfig(x11) requirement in SLE15.3
BuildRequires: cmake >= 3.12.0 gcc-c++ libstdc++-devel pcre-devel gtkmm3-devel >= 3.4.0 libX11-devel
BuildRequires: update-desktop-files fdupes hicolor-icon-theme polkit
Recommends: xdg-utils
%endif
@@ -36,9 +37,9 @@ Recommends: xdg-utils
Requires: smartmontools >= 5.43 polkit bash xterm
%if 0%{?centos_version} || 0%{?rhel_version}
# Use cmake from EPEL
BuildRequires: cmake3 >= 3.13.0
BuildRequires: cmake3 >= 3.12.0
%else
BuildRequires: cmake >= 3.13.0
BuildRequires: cmake >= 3.12.0
%endif
BuildRequires: gcc-c++ pcre-devel gtkmm30-devel >= 3.4.0
BuildRequires: desktop-file-utils hicolor-icon-theme make