From 4c50bea2170a32eb42980801bdbd23b88cb38603 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 7 Jun 2014 07:12:43 +0200 Subject: php-guzzlehttp-streams: backport --- Makefile | 4 ++++ php-guzzlehttp-streams.spec | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..91b0fd5 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../common/Makefile + diff --git a/php-guzzlehttp-streams.spec b/php-guzzlehttp-streams.spec index 496c81e..638e4b3 100644 --- a/php-guzzlehttp-streams.spec +++ b/php-guzzlehttp-streams.spec @@ -19,6 +19,7 @@ License: MIT URL: http://docs.guzzlephp.org/en/latest/streams.html Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # For tests: composer.json BuildRequires: php(language) >= %{php_min_ver} @@ -82,12 +83,16 @@ sed 's/colors\s*=\s*"true"/colors="false"/' phpunit.xml.dist > phpunit.xml %files +%defattr(-,root,root,-) %doc LICENSE README.rst composer.json %dir %{_datadir}/php/GuzzleHttp %{_datadir}/php/GuzzleHttp/Stream %changelog +* Sat Jun 7 2014 Remi Collet 1.1.0-2 +- backport for remi repo + * Fri Jun 06 2014 Shawn Iwinski - 1.1.0-2 - Updated URL - Added php-composer(%%{composer_vendor}/%%{composer_project}) virtual provide -- cgit