diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-01-11 15:37:17 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-01-11 15:37:17 +0100 |
commit | 8fa1bedb105b9e7c86472186fff3e5d9fb15c07d (patch) | |
tree | 76975f700b2587430877c5f06b82281abb337408 | |
parent | 7e73c7bb94e73767ff6e8d75752f264f272cc92e (diff) |
php-doctrine-common: backport
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-doctrine-common.spec | 10 |
2 files changed, 14 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-common.spec b/php-doctrine-common.spec index 39dc816..b36501c 100644 --- a/php-doctrine-common.spec +++ b/php-doctrine-common.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} @@ -77,6 +78,7 @@ functionality. %install +rm -rf %{buildroot} mkdir -p %{buildroot}/%{_datadir}/php cp -rp lib/* %{buildroot}/%{_datadir}/php/ @@ -103,7 +105,12 @@ 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/*.php %{_datadir}/php/Doctrine/Common/Persistence @@ -113,6 +120,9 @@ sed 's/colors="true"/colors="false"/' phpunit.xml.dist > phpunit.xml %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} - Removed php-channel-doctrine obsolete |