From fdfade744539fd72cd431b4feb84d53c2a07b0bf Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 25 Aug 2015 07:59:45 +0200 Subject: php-firephp-firephp-core: backport --- Makefile | 4 ++++ php-firephp-firephp-core.spec | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 Makefile 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-firephp-firephp-core.spec b/php-firephp-firephp-core.spec index 79112f1..0f8b21c 100644 --- a/php-firephp-firephp-core.spec +++ b/php-firephp-firephp-core.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-firephp-firephp-core, from: # # Fedora spec file for php-firephp-firephp-core # @@ -33,6 +34,7 @@ URL: https://github.com/%{github_owner}/%{github_name} Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # Tests %if %{with_tests} BuildRequires: %{_bindir}/phpunit @@ -75,6 +77,8 @@ normal functioning of the application. %install +rm -rf %{buildroot} + : Lib mkdir -p %{buildroot}%{phpdir} cp -rp lib/* %{buildroot}%{phpdir}/ @@ -93,7 +97,12 @@ popd %endif +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) # README re-used as license file since it has full license text %{?_licensedir:%license README.md} %doc *.md @@ -103,5 +112,8 @@ popd %changelog +* Tue Aug 25 2015 Remi Collet - 0.4.0-1 +- backport for #remirepo + * Tue Aug 18 2015 Shawn Iwinski - 0.4.0-1 - Initial package -- cgit