From 193a9ab58b152acd1864a469b89895051152974c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Oct 2015 18:14:01 +0200 Subject: php-mediawiki-at-ease: add backport for remirepo --- php-mediawiki-at-ease.spec | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'php-mediawiki-at-ease.spec') diff --git a/php-mediawiki-at-ease.spec b/php-mediawiki-at-ease.spec index faab100..82a69cd 100644 --- a/php-mediawiki-at-ease.spec +++ b/php-mediawiki-at-ease.spec @@ -1,14 +1,25 @@ +# remirepo spec file for php-mediawiki-at-ease, from: +# +# Fedora spec file for php-mediawiki-at-ease +# +# License: MIT +# http://opensource.org/licenses/MIT +# +# Please preserve changelog entries +# %global git_tag_rev 94c0b84888841d160419f915c2745d9d08fbf0c3 Name: php-mediawiki-at-ease Version: 1.1.0 Release: 1%{?dist} Summary: Safe replacement to @ for suppressing warnings +Group: Development/Libraries License: GPLv2+ URL: http://www.mediawiki.org/wiki/at-ease Source0: http://git.wikimedia.org/zip/?r=at-ease.git&format=xz&h=%{git_tag_rev}#/%{name}-%{version}.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-phpunit-PHPUnit @@ -34,6 +45,8 @@ development cycle. %install +rm -rf %{buildroot} + mkdir -pm 0755 %{buildroot}%{_datadir}/php/MediaWiki/at-ease cp -rp src/* %{buildroot}%{_datadir}/php/MediaWiki/at-ease @@ -42,13 +55,22 @@ cp -rp src/* %{buildroot}%{_datadir}/php/MediaWiki/at-ease phpunit -v --bootstrap %{buildroot}%{_datadir}/php/MediaWiki/at-ease/Functions.php +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) +%{!?_licensedir:%global license %%doc} %license COPYING %doc composer.json README.md %{_datadir}/php/MediaWiki %changelog +* Mon Oct 5 2015 Remi Collet - 1.1.0-1 +- add backport stuff + * Wed Sep 30 2015 Michael Cronenworth - 1.1.0-1 - Initial package -- cgit