summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-01-11 15:39:19 +0100
committerRemi Collet <fedora@famillecollet.com>2014-01-11 15:39:19 +0100
commit316ad3153338c353588e3e7b625f4d62b24638bd (patch)
tree86ef1d659b15bdb414e31e2a20d4f06c76d266c0
parent50c2f8099a33e4d2a8a9b06e78e999d7bd228819 (diff)
php-doctrine-dbal: backport
-rw-r--r--Makefile4
-rw-r--r--php-doctrine-dbal.spec10
2 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..13af741
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+SRCDIR := $(shell pwd)
+NAME := $(shell basename $(SRCDIR))
+include ../../../common/Makefile
+
diff --git a/php-doctrine-dbal.spec b/php-doctrine-dbal.spec
index d8a9426..4873649 100644
--- a/php-doctrine-dbal.spec
+++ b/php-doctrine-dbal.spec
@@ -27,6 +27,7 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_co
# https://github.com/doctrine/dbal/commit/894493b285c71a33e6ed29994ba415bad5e0a457
Patch0: php-doctrine-dbal-2.4.2-primary_index.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: php(language) >= %{php_min_ver}
@@ -82,6 +83,7 @@ chmod a-x \
%install
+rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_datadir}/php
cp -rp lib/Doctrine %{buildroot}/%{_datadir}/php/
@@ -93,13 +95,21 @@ install -pm 0755 bin/doctrine-dbal %{buildroot}/%{_bindir}/
# No upstream tests provided in source
+%clean
+rm -rf %{buildroot}
+
+
%files
+%defattr(-,root,root,-)
%doc LICENSE *.md UPGRADE composer.json
%{_datadir}/php/Doctrine/DBAL
%{_bindir}/doctrine-dbal
%changelog
+* Sat Jan 11 2014 Remi Collet <rpms@famillecollet.com> 2.4.2-2
+- backport for remi repo
+
* Tue Jan 07 2014 Adam Williamson <awilliam@redhat.com> - 2.4.2-2
- primary_index: one OwnCloud patch still isn't in upstream