diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-01-11 15:17:18 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-01-11 15:17:18 +0100 |
commit | 1dfb9a5f45e1bb9a0b632a79935fea2a7fd736ca (patch) | |
tree | d292c1074ad8d6487ea9238ec01dfa4a0826866e | |
parent | 687057b71bfae98e7b147e743166d5651ebe61b3 (diff) |
php-doctrine-inflector: backport
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-doctrine-inflector.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-inflector.spec b/php-doctrine-inflector.spec index 8abb14b..c1393ef 100644 --- a/php-doctrine-inflector.spec +++ b/php-doctrine-inflector.spec @@ -18,6 +18,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} @@ -44,6 +45,7 @@ with regard to upper-/lowercase and singular/plural forms of words. %install +rm -rf %{buildroot} mkdir -p %{buildroot}/%{_datadir}/php cp -rp lib/* %{buildroot}/%{_datadir}/php/ @@ -57,7 +59,12 @@ cat phpunit.xml.dist \ %{_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 @@ -65,6 +72,9 @@ cat phpunit.xml.dist \ %changelog +* Sat Jan 11 2014 Remi Collet <rpms@famillecollet.com> 1.0-2.20131221gita81c334 +- backport for remi repo + * Mon Jan 06 2014 Shawn Iwinski <shawn.iwinski@gmail.com> 1.0-2.20131221gita81c334 - Conditional %%{?dist} |