diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-guzzlehttp-ringphp.spec | 10 |
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 |