summaryrefslogtreecommitdiffstats
path: root/php-doctrine-cache.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-01-11 15:29:12 +0100
committerRemi Collet <fedora@famillecollet.com>2014-01-11 15:29:12 +0100
commita6ae0f5249aa573c355aa8d17bd15721e6e71d6a (patch)
tree2df937b750260d8b70da2bee8abfb5f95d58664e /php-doctrine-cache.spec
parent2edc0576a24fe408a4a3aa8a8c345f7c7514a176 (diff)
php-doctrine-cache: backport
Diffstat (limited to 'php-doctrine-cache.spec')
-rw-r--r--php-doctrine-cache.spec10
1 files changed, 10 insertions, 0 deletions
diff --git a/php-doctrine-cache.spec b/php-doctrine-cache.spec
index 4a9e102..dc33149 100644
--- a/php-doctrine-cache.spec
+++ b/php-doctrine-cache.spec
@@ -20,6 +20,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
# For tests
BuildRequires: php(language) >= %{php_min_ver}
@@ -68,6 +69,7 @@ find . -name '*ZendDataCache*' -delete
%install
+rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_datadir}/php
cp -rp lib/* %{buildroot}/%{_datadir}/php/
@@ -98,7 +100,12 @@ rm -f \
%{_bindir}/phpunit --include-path ./lib:./tests -d date.timezone="UTC"
+%clean
+rm -rf %{buildroot}
+
+
%files
+%defattr(-,root,root,-)
%doc LICENSE *.md composer.json
%dir %{_datadir}/php/Doctrine
%dir %{_datadir}/php/Doctrine/Common
@@ -106,6 +113,9 @@ rm -f \
%changelog
+* Sat Jan 11 2014 Remi Collet <rpms@famillecollet.com> 1.3.0-2
+- backport for remi repo
+
* Fri Jan 03 2014 Shawn Iwinski <shawn.iwinski@gmail.com> 1.3.0-2
- Conditional %%{?dist}
- Removed sub-packages