diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-06-26 07:29:14 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-06-26 07:29:14 +0200 |
commit | e4064c188bef419cf41622e42ef29e951574086a (patch) | |
tree | b3425aa5ba23b871729e0f97ffee1c5552400142 | |
parent | 8ceb4ea96c6982418b87afed45460ce57ab9129a (diff) |
php-doctrine-doctrine-cache-bundle: backport
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-doctrine-doctrine-cache-bundle.spec | 11 |
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-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 <remi@remirepo.net> - 1.0.1-2 +- backport for remirepo + * Tue Jun 16 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.0.1-2 - Fix dependencies |