siwinski pushed to php-react-promise (f21). "Added autoloader in-file comment"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Jun 1 21:45:08 UTC 2015
From 9b93ac12bf6807c205bfef62596d0809f501a85e Mon Sep 17 00:00:00 2001
From: Shawn Iwinski <shawn.iwinski at gmail.com>
Date: Mon, 1 Jun 2015 14:50:58 -0400
Subject: Added autoloader in-file comment
diff --git a/php-react-promise.spec b/php-react-promise.spec
index eef4f36..3ec0612 100644
--- a/php-react-promise.spec
+++ b/php-react-promise.spec
@@ -73,6 +73,9 @@ A lightweight implementation of CommonJS Promises/A [1] for PHP.
: Create autoloader
(cat <<'AUTOLOAD'
<?php
+/**
+ * Autoloader created by %{name}-%{version}-%{release}
+ */
if (!class_exists('Symfony\\Component\\ClassLoader\\Psr4ClassLoader', false)) {
require_once '%{phpdir}/Symfony/Component/ClassLoader/Psr4ClassLoader.php';
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/php-react-promise.git/commit/?h=f21&id=9b93ac12bf6807c205bfef62596d0809f501a85e
More information about the scm-commits
mailing list