siwinski pushed to php-psr-http-message (el6). "Updated to 0.10.1 (BZ #1218459) (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sat May 30 19:56:07 UTC 2015
From ca1938ada4ee3f1c231eaa7c8a71c69f8e4f0930 Mon Sep 17 00:00:00 2001
From: Shawn Iwinski <shawn.iwinski at gmail.com>
Date: Thu, 30 Apr 2015 18:30:17 -0400
Subject: Updated to 0.10.1 (BZ #1218459)
- Added autoloader
diff --git a/php-psr-http-message.spec b/php-psr-http-message.spec
index d5f8cf9..d7a234f 100644
--- a/php-psr-http-message.spec
+++ b/php-psr-http-message.spec
@@ -11,45 +11,50 @@
%global github_owner php-fig
%global github_name http-message
-%global github_version 0.10.1
-%global github_commit 9723465b3e7c8ecb0436f066bfb8a13e1bac1789
+%global github_version 1.0
+%global github_commit 85d63699f0dbedb190bbd4b0d2b9dc707ea4c298
%global composer_vendor psr
%global composer_project http-message
%{!?phpdir: %global phpdir %{_datadir}/php}
-Name: php-%{composer_vendor}-%{composer_project}
-Version: %{github_version}
-Release: 1%{?github_release}%{?dist}
-Summary: Common interface for HTTP messages (PSR-7)
+Name: php-%{composer_vendor}-%{composer_project}
+Version: %{github_version}
+Release: 1%{?github_release}%{?dist}
+Summary: Common interface for HTTP messages (PSR-7)
-Group: Development/Libraries
-License: MIT
-URL: https://github.com/%{github_owner}/%{github_name}
-Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
+Group: Development/Libraries
+License: MIT
+URL: https://github.com/%{github_owner}/%{github_name}
+Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
-BuildArch: noarch
+BuildArch: noarch
+# Autoload generation
+BuildRequires: %{_bindir}/phpab
-# phpcompatinfo (computed from version 0.10.1)
-Requires: php(language) >= 5.3.0
+# phpcompatinfo (computed from version 1.0)
+Requires: php(language) >= 5.3.0
# Composer
-Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version}
+Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version}
%description
-This package holds all interfaces/classes/traits related to PSR-7.
+This package holds all interfaces/classes/traits related to PSR-7 [1].
Note that this is not a HTTP message implementation of its own. It is merely an
interface that describes a HTTP message. See the specification for more details.
+[1] http://www.php-fig.org/psr/psr-7/
+
%prep
%setup -qn %{github_name}-%{github_commit}
%build
-# Empty build section, nothing required
+: Generate autoloader
+%{_bindir}/phpab --nolower --output src/autoload.php src
%install
@@ -72,6 +77,10 @@ cp -rp src/* %{buildroot}%{phpdir}/Psr/Http/Message/
%changelog
+* Sat May 30 2015 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.0-1
+- Updated to 0.10.1 (BZ #1218459)
+- Added autoloader
+
* Mon Apr 13 2015 Shawn Iwinski <shawn.iwinski at gmail.com> - 0.10.1-1
- Updated to 0.10.1 (BZ #1187918)
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/php-psr-http-message.git/commit/?h=el6&id=ca1938ada4ee3f1c231eaa7c8a71c69f8e4f0930
More information about the scm-commits
mailing list