summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-06-07 07:12:43 +0200
committerRemi Collet <fedora@famillecollet.com>2014-06-07 07:12:43 +0200
commit4c50bea2170a32eb42980801bdbd23b88cb38603 (patch)
tree85f2f622efcb6179429bd3a5495ef0c68adb989a
parentb62b17810da539189749ba235959f00d2cf3ce83 (diff)
php-guzzlehttp-streams: backport
-rw-r--r--Makefile4
-rw-r--r--php-guzzlehttp-streams.spec5
2 files changed, 9 insertions, 0 deletions
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 <remi@fedoraproject.org> 1.1.0-2
+- backport for remi repo
+
* Fri Jun 06 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.1.0-2
- Updated URL
- Added php-composer(%%{composer_vendor}/%%{composer_project}) virtual provide