summaryrefslogtreecommitdiffstats
path: root/php-doctrine-deprecations.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-03-31 08:50:11 +0200
committerRemi Collet <remi@remirepo.net>2021-03-31 08:50:11 +0200
commitad3492960871aa15e58e1e0ce1cc8522ed1b7bbd (patch)
treeb6c864053e718d90fb7a20b32289d947881f277b /php-doctrine-deprecations.spec
parentf22e33525c4c5f433cd45e4237fe5d9b5718e3ad (diff)
add LICENSE file copy/pasted from other doctrine project,
and from https://github.com/doctrine/deprecations/pull/27
Diffstat (limited to 'php-doctrine-deprecations.spec')
-rw-r--r--php-doctrine-deprecations.spec15
1 files changed, 12 insertions, 3 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 0.5.3-1
- initial package
+- open https://github.com/doctrine/deprecations/issues/26 missing License