Skip to content

Commit

Permalink
fix openSUSE dependencies version
Browse files Browse the repository at this point in the history
  • Loading branch information
EmixamPP committed Jun 20, 2022
1 parent e9c719b commit 3d89c3a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions COPR/linux-enable-ir-emitter.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ License: MIT
Source0: https://github.com/EmixamPP/%{name}/archive/refs/tags/%{version}.tar.gz

BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: opencv-devel
BuildRequires: gcc-c++ >= 5.5.0
BuildRequires: opencv-devel >= 4.5.2

Requires: usbutils
Requires: opencv
Requires: python3
Requires: opencv >= 4.5.2
Requires: python3 >= 3.6.2

%description
Enables infrared cameras that are not directly enabled out-of-the box.
Expand Down Expand Up @@ -72,8 +72,8 @@ if [ "$1" -eq 0 ]; then
# remove SeLinux permission
which semanage &> /dev/null
if [ "$?" -eq 0 ] && [ "$1" -eq 0 ]; then
semanage fcontext -d %{_exec_prefix}/lib//%{name}/driver/execute-driver
semanage fcontext -d %{_exec_prefix}/lib//%{name}/driver/driver-generator
semanage fcontext -d %{_exec_prefix}/lib/%{name}/driver/execute-driver
semanage fcontext -d %{_exec_prefix}/lib/%{name}/driver/driver-generator
fi

# delete python cache
Expand Down

0 comments on commit 3d89c3a

Please sign in to comment.