From be58867f862ec1e0b93b274c8b66c36f4718f53f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20P=C3=B6ppel?= <jpoeppel@techfak.uni-bielefeld.de>
Date: Fri, 13 Sep 2019 18:14:50 +0200
Subject: [PATCH] fixed protobuf version in ipaaca recipe to avoid
 incompatibilities

---
 conda.recipe/meta.yaml | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml
index 1764a24..8a47135 100644
--- a/conda.recipe/meta.yaml
+++ b/conda.recipe/meta.yaml
@@ -1,6 +1,8 @@
+{% set protobufversion = "3.8.0" %}
+
 package:
   name: ipaaca
-  version: "0.1.0"
+  version: "0.1.1"
 
 source:
   - path: ../ipaacalib/cpp/
@@ -11,7 +13,8 @@ source:
     folder: proto
 
 build:
-  number: 1
+  number: 4
+  
 
 requirements:
   build:
@@ -23,17 +26,21 @@ requirements:
 
 outputs:
   - name: ipaaca-cpp
+    # run_exports:
+    #   strong:
+    #     - {{ pin_compatible('libprotobuf', max_pin='x.x') }}
     script: install_cpp.sh
     requirements:
       host:
-        - protobuf
+        - libprotobuf {{ protobufversion }}
         - mosquitto
         - libboost
 
       run:
         - mosquitto
-        - {{ pin_compatible('libprotobuf') }}
+        - {{ pin_compatible('libprotobuf', max_pin='x.x') }}
         - libboost
+
   - name: ipaaca-py
     noarch: python
     script: install_python.sh
@@ -42,13 +49,13 @@ outputs:
         - python
         - pip
         - setuptools
-        - protobuf
+        - protobuf {{ protobufversion }}
 
       run:
         - python
         - mosquitto
         - paho-mqtt
-        - protobuf
+        - {{ pin_compatible('protobuf', max_pin='x.x') }}
     
 # requirements:
 #   build:
-- 
GitLab