Skip to content

Commit

Permalink
Fix packages dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrobbel committed Feb 10, 2021
1 parent be2b113 commit f65a01f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)

project(fletcher_opae
VERSION 0.2.0
VERSION 0.2.1
DESCRIPTION "Fletcher platform support for Open Programmable Acceleration Engine"
HOMEPAGE_URL "https://github.com/teratide/fletcher-opae"
LANGUAGES C
Expand Down Expand Up @@ -110,16 +110,16 @@ set(CPACK_PACKAGE_RELOCATABLE ON)
set(CPACK_DEB_COMPONENT_INSTALL ON)
set(CPACK_DEBIAN_LIBRARY_PACKAGE_NAME "${CMAKE_PROJECT_NAME}")
set(CPACK_DEBIAN_FILE_NAME "DEB-DEFAULT")
set(CPACK_DEBIAN_LIBRARY_PACKAGE_DEPENDS "fletcher (= 0.0.19), opae-libs (= 2.0.1)")
set(CPACK_DEBIAN_ASE_PACKAGE_DEPENDS "fletcher (= 0.0.19), opae-ase (= 2.0.1)")
set(CPACK_DEBIAN_LIBRARY_PACKAGE_DEPENDS "fletcher (>= 0.0.19), opae-libs (>= 2.0.1)")
set(CPACK_DEBIAN_ASE_PACKAGE_DEPENDS "fletcher (>= 0.0.19), opae-ase (>= 2.0.1)")
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "${CPACK_PACKAGE_VENDOR}")

set(CPACK_RPM_COMPONENT_INSTALL ON)
set(CPACK_RPM_FILE_NAME "RPM-DEFAULT")
set(CPACK_RPM_PACKAGE_DESCRIPTION "${CPACK_PACKAGE_DESCRIPTION}")
set(CPACK_RPM_PACKAGE_LICENSE "ASL 2.0")
set(CPACK_RPM_LIBRARY_PACKAGE_REQUIRES "fletcher = 0.0.19, opae-libs = 2.0.1")
set(CPACK_RPM_ASE_PACKAGE_REQUIRES "fletcher = 0.0.19, opae-ase = 2.0.1")
set(CPACK_RPM_LIBRARY_PACKAGE_REQUIRES "fletcher >= 0.0.19, opae-libs >= 2.0.1")
set(CPACK_RPM_ASE_PACKAGE_REQUIRES "fletcher >= 0.0.19, opae-ase >= 2.0.1")

set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)
set(CPACK_ARCHIVE_LIBRARY_FILE_NAME "${CMAKE_PROJECT_NAME}-${fletcher_opae_VERSION}-${CMAKE_SYSTEM_NAME}")
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RUN git clone --recursive --single-branch -b ${FLETCHER_VERSION} https://github.
ENV FLETCHER_HARDWARE_DIR=/fletcher/hardware

# Fletcher plaform support for OPAE
ARG FLETCHER_OPAE_VERSION=0.2.0
ARG FLETCHER_OPAE_VERSION=0.2.1
RUN mkdir -p /fletcher-opae && \
curl -L https://github.com/teratide/fletcher-opae/archive/${FLETCHER_OPAE_VERSION}.tar.gz | tar xz -C /fletcher-opae --strip-components=1 && \
cd /fletcher-opae && \
Expand Down

0 comments on commit f65a01f

Please sign in to comment.