diff options
-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 |