From e84432db78a0f1a8a30e943b70a129be6bf12cb8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 18 May 2015 07:40:24 +0200 Subject: php-mtdowling-transducers: add backport stuff --- Makefile | 4 ++++ php-mtdowling-transducers.spec | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 Makefile 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-mtdowling-transducers.spec b/php-mtdowling-transducers.spec index a17ecd6..c529751 100644 --- a/php-mtdowling-transducers.spec +++ b/php-mtdowling-transducers.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-mtdowling-transducers from Fedora: # # RPM spec file for php-mtdowling-transducers # @@ -39,6 +40,7 @@ URL: https://github.com/%{github_owner}/%{github_name} Source0: %{name}-%{version}-%{github_commit}.tar.gz Source1: %{name}-get-source.sh +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch %if %{with_tests} # For tests @@ -91,6 +93,7 @@ AUTOLOAD %install +rm -rf %{buildroot} mkdir -p %{buildroot}%{phpdir}/%{composer_project} cp -rp src/* %{buildroot}%{phpdir}/%{composer_project}/ @@ -110,7 +113,12 @@ sed -e 's/function testToTraversableReturnsStreamsIter/function SKIP_testToTrave %endif +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc CHANGELOG.md @@ -120,5 +128,8 @@ sed -e 's/function testToTraversableReturnsStreamsIter/function SKIP_testToTrave %changelog +* Mon May 18 2015 Remi Collet - 0.3.0-1 +- add needed backport stuff for remi repository + * Sat May 16 2015 Shawn Iwinski - 0.3.0-1 - Initial package -- cgit