diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-01-11 15:44:00 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-01-11 15:44:00 +0100 |
commit | 68adb18b935e8cea89260e16d736830e7c100b37 (patch) | |
tree | 42f6621c64c6d904ba7a09734128d2c9ad73e425 | |
parent | fcd15b77b10a4a20f58a780eced1c7487cee47f2 (diff) |
php-doctrine-datafixtures: backport
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-doctrine-datafixtures.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-datafixtures.spec b/php-doctrine-datafixtures.spec index 0241f5a..1009d33 100644 --- a/php-doctrine-datafixtures.spec +++ b/php-doctrine-datafixtures.spec @@ -19,6 +19,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} @@ -57,6 +58,8 @@ of data fixtures for the Doctrine ORM or ODM. %install +rm -rf %{buildroot} + mkdir -p %{buildroot}/%{_datadir}/php cp -rp lib/* %{buildroot}/%{_datadir}/php/ @@ -85,12 +88,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 UPGRADE composer.json %{_datadir}/php/Doctrine/Common/DataFixtures %changelog +* Sat Jan 11 2014 Remi Collet <rpms@famillecollet.com> 1.0.0-2 +- backport for remi repo + * Sun Jan 05 2014 Shawn Iwinski <shawn.iwinski@gmail.com> 1.0.0-2 - Use non-PEAR Doctrine pkgs - Conditional %%{?dist} |