diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-11-07 07:24:47 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-11-07 07:24:47 +0100 |
commit | 43f60ae3c9afd822e79830deb2b340462660781f (patch) | |
tree | 09976ebcc9bc2fa922b48fbb6e57eebd89833608 | |
parent | dae8fe8e99a7d375606b4cfbb6a4b7a3a00753f3 (diff) |
php-gliph: backport
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-gliph.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-gliph.spec b/php-gliph.spec index 5324ee1..b77b9a3 100644 --- a/php-gliph.spec +++ b/php-gliph.spec @@ -16,6 +16,7 @@ License: MIT URL: https://github.com/%{github_owner}/%{github_name} Source0: %{url}/archive/%{github_commit}/%{name}-%{version}-%{github_commit}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: php(language) >= %{php_min_ver} @@ -38,6 +39,7 @@ Neo4J (http://neo4j.org/). %install +rm -rf %{buildroot} mkdir -p -m 755 %{buildroot}%{_datadir}/php cp -rp src/%{lib_name} %{buildroot}%{_datadir}/php/ @@ -48,12 +50,20 @@ cp -rp src/%{lib_name} %{buildroot}%{_datadir}/php/ # contacted to revert the git export-ignore so tests may be run here. +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %doc LICENSE README.md composer.json %{_datadir}/php/%{lib_name} %changelog +* Thu Nov 7 2013 Remi Collet <rpms@famillecollet.com> 0.1.5-1 +- backport 0.1.5 for remi repo + * Wed Nov 06 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 0.1.5-1 - Updated to 0.1.5 - Removed tests (git export-ignored upstream) |