diff options
author | Remi Collet <remi@remirepo.net> | 2019-11-22 16:04:35 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-11-22 16:04:35 +0100 |
commit | a05438f76d2f9bc5eb39865b2ed94fb0c317729c (patch) | |
tree | f6c5ac51be0d34894648a6ca5f8d60d153cd86ea | |
parent | daf44ca422fb76866e92d881938cef3848c58ba9 (diff) |
add sign check
-rw-r--r-- | phpMyAdmin.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpMyAdmin.spec b/phpMyAdmin.spec index 0e15ff3..1ad41e4 100644 --- a/phpMyAdmin.spec +++ b/phpMyAdmin.spec @@ -37,6 +37,7 @@ Source0: https://files.phpmyadmin.net/%{name}/%{upstream_version}%{?upstream_pre Source1: https://files.phpmyadmin.net/%{name}/%{upstream_version}%{?upstream_prever:-%upstream_prever}/%{name}-%{upstream_version}%{?upstream_prever:-%upstream_prever}-all-languages.tar.xz.asc Source2: phpMyAdmin.htaccess Source3: phpMyAdmin.nginx +Source4: https://files.phpmyadmin.net/phpmyadmin.keyring # Redirect to system certificates Patch0: phpMyAdmin-certs.patch @@ -44,6 +45,7 @@ Patch0: phpMyAdmin-certs.patch Patch1: https://github.com/phpmyadmin/phpmyadmin/commit/5b67d2189cd930ceb4e72da737dbd267b781daf9.patch BuildArch: noarch +BuildRequires: gnupg2 Requires(post): coreutils sed Requires: webserver @@ -186,6 +188,8 @@ is available in 50 languages %prep +%{?gpgverify:%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE1}' --data='%{SOURCE0}'} + %setup -qn phpMyAdmin-%{upstream_version}%{?upstream_prever:-%upstream_prever}-all-languages %patch0 -p1 %patch1 -p1 |