From 94c03f42486765c6c5f69a15eb22e5f69a422ee6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 5 Jan 2014 08:57:58 +0100 Subject: php-channel-phpseclib: backport --- php-channel-phpseclib.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/php-channel-phpseclib.spec b/php-channel-phpseclib.spec index 68f68c7..f1eab2a 100644 --- a/php-channel-phpseclib.spec +++ b/php-channel-phpseclib.spec @@ -11,6 +11,7 @@ License: Public Domain URL: http://phpseclib.sourceforge.net/ Source0: http://phpseclib.sourceforge.net/channel.xml +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-pear Requires: php-pear(PEAR) @@ -34,10 +35,15 @@ sed -i 's/\r$//' %{SOURCE0} %install +rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{pear_xmldir} install -pm 644 %{SOURCE0} $RPM_BUILD_ROOT%{pear_xmldir}/%{name}.xml +%clean +rm -rf $RPM_BUILD_ROOT + + %post if [ $1 -eq 1 ] ; then %{__pear} channel-add %{pear_xmldir}/%{name}.xml > /dev/null || : @@ -53,10 +59,14 @@ fi %files +%defattr(-,root,root,-) %{pear_xmldir}/%{name}.xml %changelog +* Sun Jan 5 2014 Remi Collet - 1.3-1 +- backport for remi repo + * Sat Jan 4 2014 Adam Williamson - 1.3-1 - version using the rest version - drop use of tabs -- cgit