From 70d47199fcf2b68c4c1c65eb44d7b028a4625f48 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 10 Sep 2019 09:42:54 +0200 Subject: add license file --- php-dasprid-enum.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'php-dasprid-enum.spec') diff --git a/php-dasprid-enum.spec b/php-dasprid-enum.spec index d9487d7..321a729 100644 --- a/php-dasprid-enum.spec +++ b/php-dasprid-enum.spec @@ -29,6 +29,8 @@ License: BSD URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz +Patch0: https://patch-diff.githubusercontent.com/raw/DASPRiD/Enum/pull/2.patch + BuildArch: noarch %if %{with_tests} # For tests @@ -67,6 +69,7 @@ Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}/autoload.php %prep %setup -q -n %{gh_project}-%{gh_commit} +%patch0 -p1 cat << 'EOF' | tee src/autoload.php - 1.0.0-1 - initial package, version 1.0.0 -- open https://github.com/DASPRiD/Enum/issues - missing LICENSE +- add license file from + https://github.com/DASPRiD/Enum/pull/2 -- cgit