summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-03-17 15:15:05 +0100
committerRemi Collet <fedora@famillecollet.com>2015-03-17 15:15:05 +0100
commit3cb44e3fbbdfd2c828ef6b46bd6d62e94ece62eb (patch)
treef5b938734c1e2b66011960b346a5be96ec27a8f9
parent155f13ffad1288e6dc9eb31fb2a1443590c943a2 (diff)
php-patchwork-jsqueeze: add backport stuff for #remirepo
-rw-r--r--php-patchwork-jsqueeze.spec10
1 files changed, 10 insertions, 0 deletions
diff --git a/php-patchwork-jsqueeze.spec b/php-patchwork-jsqueeze.spec
index 4dd4ab5..e95ffda 100644
--- a/php-patchwork-jsqueeze.spec
+++ b/php-patchwork-jsqueeze.spec
@@ -25,6 +25,7 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{gith
Patch0: https://github.com/%{github_owner}/%{github_name}/commit/f3747ee91e3025b46e29b2128bbb83f63cbb7f2a.patch
Patch1: https://github.com/%{github_owner}/%{github_name}/dc3c4073c2060d62a8578848c5d222a8b7608df1.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# For tests
BuildRequires: php(language) >= %{php_min_ver}
@@ -59,6 +60,7 @@ UglifyJS.
%install
+rm -rf %{buildroot}
# use PSR-0 layout relative to _datadir/php
mkdir -p %{buildroot}%{_datadir}/php/%{psr4_namespace}
cp -pr src/* %{buildroot}%{_datadir}/php/%{psr4_namespace}
@@ -68,7 +70,12 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{psr4_namespace}
%{_bindir}/phpunit
+%clean
+rm -rf %{buildroot}
+
+
%files
+%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE.ASL20 LICENSE.GPLv2
%doc README.md composer.json
@@ -76,6 +83,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{psr4_namespace}
%changelog
+* Tue Mar 17 2015 Remi Collet <remmi@fedoraproject.org> - 2.0.1-2
+- add backport stuff for #remirepo
+
* Mon Mar 16 2015 Adam Williamson <awilliam@redhat.com> - 2.0.1-2
- backport a couple of bugfixes from upstream