diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-01-11 15:32:21 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-01-11 15:32:21 +0100 |
commit | 04af58711d3d7564bd4c008745ad42bf63ba76dd (patch) | |
tree | a5e73d6cacfcadf932f2500436d9d36e6b2e1dc3 /php-doctrine-annotations.spec | |
parent | 08b5294c55837a3dcb77ae23c01dc6524b613eaa (diff) |
php-doctrine-lexer: import from rawhide
Diffstat (limited to 'php-doctrine-annotations.spec')
-rw-r--r-- | php-doctrine-annotations.spec | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/php-doctrine-annotations.spec b/php-doctrine-annotations.spec index 1d04194..27da5fc 100644 --- a/php-doctrine-annotations.spec +++ b/php-doctrine-annotations.spec @@ -24,6 +24,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} @@ -69,6 +70,7 @@ Conflicts: php-pear(pear.doctrine-project.org/DoctrineCommon) < 2.4 %install +rm -rf %{buildroot} mkdir -p %{buildroot}/%{_datadir}/php cp -rp lib/* %{buildroot}/%{_datadir}/php/ @@ -95,12 +97,20 @@ sed 's/colors="true"/colors="false"/' phpunit.xml.dist > phpunit.xml %{_bindir}/phpunit --include-path ./lib:./tests -d date.timezone="UTC" +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %doc LICENSE *.md composer.json %{_datadir}/php/Doctrine/Common/Annotations %changelog +* Sat Jan 11 2014 Remi Collet <rpms@famillecollet.com> 1.1.2-3.20131220gita11349d +- backport for remi repo + * Mon Jan 06 2014 Shawn Iwinski <shawn.iwinski@gmail.com> 1.1.2-3.20131220gita11349d - Minor syntax changes |