From ff30adf6692657cc2ec4decebc9a0774a32a189f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Jul 2015 09:42:53 +0200 Subject: php-guzzlehttp-psr7: add backport stuff --- php-guzzlehttp-psr7.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'php-guzzlehttp-psr7.spec') diff --git a/php-guzzlehttp-psr7.spec b/php-guzzlehttp-psr7.spec index e7d7d02..3fc83ff 100644 --- a/php-guzzlehttp-psr7.spec +++ b/php-guzzlehttp-psr7.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-guzzlehttp-psr7, from # # Fedora spec file for php-guzzlehttp-psr7 # @@ -38,6 +39,7 @@ License: MIT URL: https://github.com/%{github_owner}/%{github_name} Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Tests %if %{with_tests} @@ -113,6 +115,8 @@ AUTOLOAD %install +rm -rf %{buildroot} + mkdir -p %{buildroot}%{phpdir}/GuzzleHttp/Psr7 cp -rp src/* %{buildroot}%{phpdir}/GuzzleHttp/Psr7/ @@ -128,7 +132,12 @@ sed "s#require.*autoload.*#require '%{buildroot}%{phpdir}/GuzzleHttp/Psr7/autolo %endif +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md @@ -138,6 +147,9 @@ sed "s#require.*autoload.*#require '%{buildroot}%{phpdir}/GuzzleHttp/Psr7/autolo %changelog +* Mon Jul 20 2015 Remi Collet - 1.1.0-3 +- add EL-5 stuff, backport for #remirepo + * Sun Jul 19 2015 Shawn Iwinski - 1.1.0-3 - Use full paths in autoloader -- cgit