From e4064c188bef419cf41622e42ef29e951574086a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 26 Jun 2015 07:29:14 +0200 Subject: php-doctrine-doctrine-cache-bundle: backport --- Makefile | 4 ++++ php-doctrine-doctrine-cache-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-cache-bundle.spec b/php-doctrine-doctrine-cache-bundle.spec index 8eef510..35a60f4 100644 --- a/php-doctrine-doctrine-cache-bundle.spec +++ b/php-doctrine-doctrine-cache-bundle.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-doctrine-doctrine-cache-bundle, from: # # RPM spec file for php-doctrine-doctrine-cache-bundle # @@ -46,6 +47,7 @@ License: MIT URL: https://github.com/%{github_owner}/%{github_name} Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Tests %if %{with_tests} @@ -134,6 +136,7 @@ AUTOLOAD %install +rm -rf %{buildroot} mkdir -p %{buildroot}%{phpdir}/Doctrine/Bundle/DoctrineCacheBundle cp -pr Acl Command DependencyInjection Resources Tests *.php \ %{buildroot}%{phpdir}/Doctrine/Bundle/DoctrineCacheBundle/ @@ -153,7 +156,12 @@ sed -e 's#\./#%{buildroot}%{phpdir}/Doctrine/Bundle/DoctrineCacheBundle/#g' \ %endif +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md @@ -164,6 +172,9 @@ sed -e 's#\./#%{buildroot}%{phpdir}/Doctrine/Bundle/DoctrineCacheBundle/#g' \ %changelog +* Fri Jun 26 2015 Remi Collet - 1.0.1-2 +- backport for remirepo + * Tue Jun 16 2015 Shawn Iwinski - 1.0.1-2 - Fix dependencies -- cgit