From ce6d99a4796613ab623dde265b0d545f4432cd92 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 27 Jun 2015 08:45:34 +0200 Subject: php-doctrine-doctrine-bundle: backport for remirepo --- Makefile | 4 ++++ php-doctrine-doctrine-bundle.spec | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 Makefile 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 - 1.5.0-3 +- backport for remi repo + * Fri Jun 26 2015 Shawn Iwinski - 1.5.0-3 - Autoloader updates -- cgit