diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-01-04 19:08:05 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-01-04 19:08:05 +0100 |
commit | eeabbba9b10e18ad88aba37f4bd75dc9ebebaeff (patch) | |
tree | 43cf934bfb795053f8e1324f3b0b3dfb4691c1cf | |
parent | c010d462ad6fce772b783487db90dcc5d2882251 (diff) |
php-container-interop: add backport stuff
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-container-interop.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-container-interop.spec b/php-container-interop.spec index f551499..2ff3c3c 100644 --- a/php-container-interop.spec +++ b/php-container-interop.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-container-interop, from: # # Fedora spec file for php-container-interop # @@ -29,6 +30,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 @@ -100,6 +102,7 @@ AUTOLOAD %install +rm -rf %{buildroot} mkdir -p %{buildroot}%{phpdir} cp -rp src/* %{buildroot}%{phpdir}/ @@ -108,7 +111,12 @@ cp -rp src/* %{buildroot}%{phpdir}/ : No tests provided upstream +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md @@ -119,5 +127,8 @@ cp -rp src/* %{buildroot}%{phpdir}/ %changelog +* Mon Jan 04 2016 Remi Collet <remi@remirepo.net> - 1.1.0-1 +- backport for #remirepo + * Sun Jan 03 2016 Shawn Iwinski <shawn@iwin.ski> - 1.1.0-1 - Initial package |