From 52380d6ede6f8d539f68b26d9f9c9c82c3fb590d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 25 Sep 2015 09:44:07 +0200 Subject: phpMyAdmin: fix license management (from Fedora) --- phpMyAdmin-dev.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'phpMyAdmin-dev.spec') diff --git a/phpMyAdmin-dev.spec b/phpMyAdmin-dev.spec index ad523d0..37aaeb8 100644 --- a/phpMyAdmin-dev.spec +++ b/phpMyAdmin-dev.spec @@ -27,8 +27,10 @@ Release: 1%{?dist} Summary: Web based MySQL browser written in php Group: Applications/Internet -# MIT (js/jquery/, js/canvg/, js/codemirror/), GPLv2+ (the rest) -License: GPLv2+ and MIT +# MIT (js/jquery/, js/canvg/, js/codemirror/), +# BSD (libraries/plugins/auth/recaptcha/), +# GPLv2+ (the rest) +License: GPLv2+ and MIT and BSD URL: https://www.phpmyadmin.net/ Source0: https://files.phpmyadmin.net/%{name}/%{version}%{?prever:-%prever}/%{name}-%{version}%{?prever:-%prever}-all-languages.tar.xz Source1: https://files.phpmyadmin.net/%{name}/%{version}%{?prever:-%prever}/%{name}-%{version}%{?prever:-%prever}-all-languages.tar.xz.asc @@ -169,9 +171,10 @@ mkdir -p %{buildroot}/%{_localstatedir}/lib/%{name}/{upload,save,config} rm -rf %{buildroot}%{_datadir}/%{name}/libraries/php-gettext rm -rf %{buildroot}%{_datadir}/%{name}/libraries/tcpdf -mv js/jquery/MIT-LICENSE.txt LICENSE-jquery -mv js/canvg/MIT-LICENSE.txt LICENSE-canvg -mv js/codemirror/LICENSE LICENSE-codemirror +mv -f $RPM_BUILD_ROOT%{_datadir}/%{name}/js/jquery/MIT-LICENSE.txt LICENSE-jquery +mv -f $RPM_BUILD_ROOT%{_datadir}/%{name}/js/canvg/MIT-LICENSE.txt LICENSE-canvg +mv -f $RPM_BUILD_ROOT%{_datadir}/%{name}/js/codemirror/LICENSE LICENSE-codemirror +mv -f $RPM_BUILD_ROOT%{_datadir}/%{name}/libraries/plugins/auth/recaptcha/LICENSE LICENSE-recaptcha %clean -- cgit