summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-02-13 10:33:37 +0100
committerRemi Collet <fedora@famillecollet.com>2015-02-13 10:33:37 +0100
commit4e5f33d5c6b310f67593929524e1e93e25f5b884 (patch)
tree8f79dfa630cc23c466600fd3ab0b358215452e76
parent1e59507f9ba3d1fd4e90494605b64192702a8a08 (diff)
php-guzzlehttp-ringphp: add backport stuff for remi repo
-rw-r--r--Makefile4
-rw-r--r--php-guzzlehttp-ringphp.spec10
2 files changed, 14 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-ringphp.spec b/php-guzzlehttp-ringphp.spec
index cd646a4..c1ff30e 100644
--- a/php-guzzlehttp-ringphp.spec
+++ b/php-guzzlehttp-ringphp.spec
@@ -42,6 +42,7 @@ License: MIT
URL: http://ringphp.readthedocs.org
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%if %{with_tests}
BuildRequires: nodejs
@@ -97,6 +98,7 @@ clients and servers for both blocking and non-blocking requests.
%install
+rm -rf %{buildroot}
mkdir -pm 0755 %{buildroot}%{phpdir}/GuzzleHttp/Ring
cp -rp src/* %{buildroot}%{phpdir}/GuzzleHttp/Ring/
@@ -128,7 +130,12 @@ AUTOLOAD
%endif
+%clean
+rm -rf %{buildroot}
+
+
%files
+%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.rst *.md composer.json
@@ -136,6 +143,9 @@ AUTOLOAD
%changelog
+* Fri Feb 13 2015 Remi Collet <remi@fedoraproject.org> - 1.0.5-1
+- backport for remi repository
+
* Sun Dec 28 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.0.5-1
- Updated to 1.0.5