diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-02-21 18:34:14 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-02-21 18:34:14 +0100 |
commit | ebff15582c5ee84f831f77ba5d4bb48600e82458 (patch) | |
tree | f87af867d57912c0c5520bd3f1a52beb5934c452 | |
parent | 988ea5c82c29d5eb280b9909cc4eccba8958fa5c (diff) |
php-gitter: backport stuff
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-gitter.spec | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..91b0fd5 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../common/Makefile + diff --git a/php-gitter.spec b/php-gitter.spec index e8f96a8..88ca5c2 100644 --- a/php-gitter.spec +++ b/php-gitter.spec @@ -23,6 +23,7 @@ License: BSD 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: git @@ -62,6 +63,7 @@ thing. %install +rm -rf %{buildroot} mkdir -p %{buildroot}/%{_datadir}/php cp -rp lib/%{lib_name} %{buildroot}/%{_datadir}/php/ @@ -83,12 +85,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 README.md composer.json %{_datadir}/php/%{lib_name} %changelog +* Fri Feb 21 2014 Remi Collet <remi@fedoraproject.org> 0.2.0-2.20131206git786e86a +- backport for remi repo + * Thu Feb 20 2014 Shawn Iwinski <shawn.iwinski@gmail.com> 0.2.0-2.20131206git786e86a - Conditional release dist |