diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-01-04 19:04:50 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-01-04 19:04:50 +0100 |
commit | 26084ea3435306ed8142263a995653b7d11fca49 (patch) | |
tree | cf8fb86e8fe5a5f98b30a5efb4e56c2f6744a863 | |
parent | 7d783f23ad7648d5de77fb7daaa2d8ec45972297 (diff) |
php-psr-cache: add backport stuff
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-psr-cache.spec | 11 |
2 files changed, 15 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-psr-cache.spec b/php-psr-cache.spec index ff90fea..e5a7995 100644 --- a/php-psr-cache.spec +++ b/php-psr-cache.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-psr-cache, from: # # Fedora spec file for php-psr-cache # @@ -32,6 +33,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 # composer.json @@ -89,6 +91,7 @@ AUTOLOAD %install +rm -rf %{buildroot} mkdir -p %{buildroot}%{phpdir}/Psr/Cache cp -rp src/* %{buildroot}%{phpdir}/Psr/Cache/ @@ -97,7 +100,12 @@ cp -rp src/* %{buildroot}%{phpdir}/Psr/Cache/ : No tests provided upstream +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE.txt %doc *.md @@ -107,5 +115,8 @@ cp -rp src/* %{buildroot}%{phpdir}/Psr/Cache/ %changelog +* Mon Jan 04 2016 Remi Collet <remi@remirepo.net> - 1.0.0-1 +- backport for #remirepo + * Sun Jan 03 2016 Shawn Iwinski <shawn@iwin.ski> - 1.0.0-1 - Initial package |