summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-27 08:45:34 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-27 08:45:34 +0200
commitce6d99a4796613ab623dde265b0d545f4432cd92 (patch)
treeb71c7dcd19d0f2b46c8776ec56f3448b9f6924ad
parent57beb83b8b90a10432d8955e4167604a5f734467 (diff)
php-doctrine-doctrine-bundle: backport for remirepo
-rw-r--r--Makefile4
-rw-r--r--php-doctrine-doctrine-bundle.spec11
2 files changed, 15 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-doctrine-bundle.spec b/php-doctrine-doctrine-bundle.spec
index d60fcd8..5e5112e 100644
--- a/php-doctrine-doctrine-bundle.spec
+++ b/php-doctrine-doctrine-bundle.spec
@@ -1,3 +1,4 @@
+# remirepo spec file for php-doctrine-doctrine-bundle, from:
#
# Fedora spec file for php-doctrine-doctrine-bundle
#
@@ -58,6 +59,7 @@ URL: https://github.com/%{github_owner}/%{github_name}
Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Tests
%if %{with_tests}
## composer.json
@@ -160,6 +162,7 @@ AUTOLOAD
%install
+rm -rf %{buildroot}
mkdir -p %{buildroot}%{phpdir}/Doctrine/Bundle/DoctrineBundle
cp -pr Command Controller DataCollector DependencyInjection Mapping Resources Tests Twig *.php \
%{buildroot}%{phpdir}/Doctrine/Bundle/DoctrineBundle/
@@ -174,7 +177,12 @@ cp -pr Command Controller DataCollector DependencyInjection Mapping Resources Te
%endif
+%clean
+rm -rf %{buildroot}
+
+
%files
+%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md
@@ -184,6 +192,9 @@ cp -pr Command Controller DataCollector DependencyInjection Mapping Resources Te
%changelog
+* Sat Jun 27 2015 Remi Collet <remi@remirepo.net> - 1.5.0-3
+- backport for remi repo
+
* Fri Jun 26 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.5.0-3
- Autoloader updates