summaryrefslogtreecommitdiffstats
path: root/php-firephp-firephp-core.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-08-25 07:59:45 +0200
committerRemi Collet <fedora@famillecollet.com>2015-08-25 07:59:45 +0200
commitfdfade744539fd72cd431b4feb84d53c2a07b0bf (patch)
tree3a1afad9c1558316918fbd94115e36561d2a0127 /php-firephp-firephp-core.spec
parent9a7663ce0942b26133a18af2af72720ac0c74ef3 (diff)
php-firephp-firephp-core: backportHEADmaster
Diffstat (limited to 'php-firephp-firephp-core.spec')
-rw-r--r--php-firephp-firephp-core.spec12
1 files changed, 12 insertions, 0 deletions
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 <remi@remirepo.net> - 0.4.0-1
+- backport for #remirepo
+
* Tue Aug 18 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 0.4.0-1
- Initial package