diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-01-11 15:42:05 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-01-11 15:42:05 +0100 |
commit | 99e7dc31ad631bc55989113fa576ba35db379ab9 (patch) | |
tree | f196cc8d627fc7f2dc81d61cdb6e81f0a7fb4a2d /php-doctrine-orm.spec | |
parent | c89a7307dbe2d943c8f40ffd2d5f7d02372bbde4 (diff) |
php-doctrine-orm: backport
Diffstat (limited to 'php-doctrine-orm.spec')
-rw-r--r-- | php-doctrine-orm.spec | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/php-doctrine-orm.spec b/php-doctrine-orm.spec index ca79f1d..5ebc8ca 100644 --- a/php-doctrine-orm.spec +++ b/php-doctrine-orm.spec @@ -30,6 +30,7 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_co # 2) Auto-load using Doctrine\Common\ClassLoader Patch0: %{name}-bin.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: php(language) >= %{php_min_ver} @@ -90,6 +91,8 @@ chmod a-x lib/Doctrine/ORM/Tools/Pagination/Paginator.php %install +rm -rf %{buildroot} + mkdir -p %{buildroot}/%{_datadir}/php cp -rp lib/Doctrine %{buildroot}/%{_datadir}/php/ @@ -101,13 +104,21 @@ install -pm 0755 bin/doctrine.php %{buildroot}/%{_bindir}/doctrine # No upstream tests provided in source +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %doc LICENSE *.md *.markdown composer.json %{_datadir}/php/Doctrine/ORM %{_bindir}/doctrine %changelog +* Sat Jan 11 2014 Remi Collet <rpms@famillecollet.com> 2.4.1-2 +- backport for remi repo + * Sat Jan 04 2014 Shawn Iwinski <shawn.iwinski@gmail.com> 2.4.1-2 - Conditional %%{?dist} - Bin script patch instead of inline update and use Doctrine Common classloader |