From d7296609d640e72dd30d3d2f4fbd1f7d40fc895f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 5 Aug 2015 06:48:50 +0200 Subject: php-symfony-psr-http-message-bridge: backport --- Makefile | 6 ++++++ php-symfony-psr-http-message-bridge.spec | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3af85b3 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../../common/Makefile + +diff: + colordiff --ignore-blank-lines -I 'Group:' -I 'defattr' -u /work/fedora/php-symfony/*spec *spec \ No newline at end of file diff --git a/php-symfony-psr-http-message-bridge.spec b/php-symfony-psr-http-message-bridge.spec index 21f5dcb..38acc15 100644 --- a/php-symfony-psr-http-message-bridge.spec +++ b/php-symfony-psr-http-message-bridge.spec @@ -1,3 +1,5 @@ +# remirepo spec file for php-symfony-psr-http-message-bridge, from: +# # # Fedora spec file for php-symfony-psr-http-message-bridge # @@ -43,6 +45,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} @@ -128,6 +131,8 @@ AUTOLOAD %install +rm -rf %{buildroot} + mkdir -p %{buildroot}%{phpdir}/Symfony/Bridge/PsrHttpMessage cp -rp *.php Factory Tests %{buildroot}%{phpdir}/Symfony/Bridge/PsrHttpMessage/ @@ -142,7 +147,12 @@ cp -rp *.php Factory Tests %{buildroot}%{phpdir}/Symfony/Bridge/PsrHttpMessage/ %endif +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md @@ -152,6 +162,9 @@ cp -rp *.php Factory Tests %{buildroot}%{phpdir}/Symfony/Bridge/PsrHttpMessage/ %changelog +* Wed Aug 5 2015 Remi Collet - 0.2-2 +- backport for #remirepo + * Sun Aug 02 2015 Shawn Iwinski - 0.2-2 - Fixed dependency versions - Added php-composer(zendframework/zend-diactoros) build dependency for tests -- cgit