summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-05-18 07:40:24 +0200
committerRemi Collet <fedora@famillecollet.com>2015-05-18 07:40:24 +0200
commite84432db78a0f1a8a30e943b70a129be6bf12cb8 (patch)
tree726ce14248f019b435fe49bc0d1e2e5357168cf0
parentc6b7a9ab9b2f0b07bf625469b8638b34dbea86bc (diff)
php-mtdowling-transducers: add backport stuff
-rw-r--r--Makefile4
-rw-r--r--php-mtdowling-transducers.spec11
2 files changed, 15 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-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 <RPMS@FamilleCollet.com> - 0.3.0-1
+- add needed backport stuff for remi repository
+
* Sat May 16 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 0.3.0-1
- Initial package