Unify spec for tizen versions 7.0-9.0 38/312238/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 5 Jun 2024 08:13:09 +0000 (10:13 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 5 Jun 2024 08:13:09 +0000 (10:13 +0200)
Change-Id: Ib44a8d34b809aeeafd99cd8d091a71283d5c96f7

packaging/webauthn-ble.spec

index a542badf95b57da215570423e9c312aace6bfce1..c54be159a557ee3c7f05f0aad70c6976ef61182d 100644 (file)
@@ -5,8 +5,6 @@
 %global version_patch   1
 %global version_release 1
 
-%global force_openssl11 0
-
 Name:    webauthn-ble
 Summary: Adaptation Layer of Web Authentication Service for BLE Authenticator
 Version: %{version_major}.%{version_minor}.%{version_patch}
@@ -26,7 +24,7 @@ BuildRequires: pkgconfig(libwebsockets)
 BuildRequires: pkgconfig(capi-network-bluetooth)
 BuildRequires: pkgconfig(glib-2.0)
 
-%if 0%{?force_openssl11}
+%if 0%{?tizen_version_major} < 8
 BuildRequires: pkgconfig(openssl1.1)
 %else
 BuildRequires: pkgconfig(openssl3)