Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[php-guzzlehttp-guzzle6] Added min version of autoloader dependency /…
… Fix directory ownership
  • Loading branch information
siwinski committed Jan 28, 2016
1 parent bbce610 commit d61ec0e
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions php-guzzlehttp-guzzle6/php-guzzlehttp-guzzle6.spec
@@ -1,7 +1,7 @@
#
# Fedora spec file for php-guzzlehttp-guzzle6
#
# Copyright (c) 2015 Shawn Iwinski <shawn.iwinski@gmail.com>
# Copyright (c) 2015-2016 Shawn Iwinski <shawn@iwin.ski>
#
# License: MIT
# http://opensource.org/licenses/MIT
Expand Down Expand Up @@ -38,7 +38,7 @@

Name: php-%{composer_vendor}-%{composer_project}6
Version: %{github_version}
Release: 1%{?github_release}%{?dist}
Release: 2%{?github_release}%{?dist}
Summary: PHP HTTP client library

Group: Development/Libraries
Expand Down Expand Up @@ -72,7 +72,9 @@ BuildRequires: php-reflection
BuildRequires: php-spl
BuildRequires: php-zlib
# Autoloader
BuildRequires: php-composer(symfony/class-loader)
## NOTE: Min version 2.5 because class
## \Symfony\Component\ClassLoader\Psr4ClassLoader required
BuildRequires: php-composer(symfony/class-loader) >= 2.5
%endif

Requires: ca-certificates
Expand All @@ -93,7 +95,9 @@ Requires: php-json
Requires: php-pcre
Requires: php-spl
# Autoloader
Requires: php-composer(symfony/class-loader)
## NOTE: Min version 2.5 because class
## \Symfony\Component\ClassLoader\Psr4ClassLoader required
Requires: php-composer(symfony/class-loader) >= 2.5

# Composer
Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version}
Expand All @@ -113,6 +117,8 @@ to integrate with web services.
PHP streams, sockets, or non-blocking event loops.
* Middleware system allows you to augment and compose client behavior.

Autoloader: %{phpdir}/GuzzleHttp6/autoload.php


%prep
%setup -qn %{github_name}-%{github_commit}
Expand Down Expand Up @@ -171,10 +177,14 @@ AUTOLOAD
%license LICENSE
%doc *.md
%doc composer.json
%{phpdir}/GuzzleHttp6/*
%{phpdir}/GuzzleHttp6


%changelog
* Thu Jan 28 2016 Shawn Iwinski <shawn@iwin.ski> - 6.1.1-2
- Added min version of autoloader dependency
- Fix directory ownership

* Sun Dec 06 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 6.1.1-1
- Renamed from php-guzzlehttp-guzzle to php-guzzlehttp-guzzle6 for
dual-install of version 5 and version 6
Expand Down

0 comments on commit d61ec0e

Please sign in to comment.