From ad3492960871aa15e58e1e0ce1cc8522ed1b7bbd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 31 Mar 2021 08:50:11 +0200 Subject: add LICENSE file copy/pasted from other doctrine project, and from https://github.com/doctrine/deprecations/pull/27 --- php-doctrine-deprecations.spec | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'php-doctrine-deprecations.spec') diff --git a/php-doctrine-deprecations.spec b/php-doctrine-deprecations.spec index 0eb752e..3ac1ae7 100644 --- a/php-doctrine-deprecations.spec +++ b/php-doctrine-deprecations.spec @@ -22,7 +22,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 0.5.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A small layer on top of trigger_error or PSR-3 logging License: MIT @@ -30,6 +30,10 @@ URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh +# Missing license file from +# https://github.com/doctrine/deprecations/pull/27 +Patch0: %{name}-pr27.patch + BuildArch: noarch BuildRequires: php(language) >= 7.1 BuildRequires: php-fedora-autoloader-devel @@ -91,6 +95,7 @@ Autoloader: %{_datadir}/php/%{ns_vendor}/%{ns_project}/autoload.php %prep %setup -q -n %{gh_project}-%{gh_commit} +%patch0 -p1 %build @@ -146,13 +151,17 @@ exit $ret %files # remirepo:1 %{!?_licensedir:%global license %%doc} -# https://github.com/doctrine/deprecations/issues/26 -#license LICENSE +%license LICENSE %doc *.md %doc composer.json %{_datadir}/php/%{ns_vendor}/%{ns_project}/ %changelog +* Wed Mar 31 2021 Remi Collet - 0.5.3-2 +- add LICENSE file copy/pasted from other doctrine project, + and from https://github.com/doctrine/deprecations/pull/27 + * Tue Mar 30 2021 Remi Collet - 0.5.3-1 - initial package +- open https://github.com/doctrine/deprecations/issues/26 missing License -- cgit