summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-01-05 08:57:58 +0100
committerRemi Collet <fedora@famillecollet.com>2014-01-05 08:57:58 +0100
commit94c03f42486765c6c5f69a15eb22e5f69a422ee6 (patch)
treeb5a5cd6f86ff7c4be17c4b59fdd7774065694428
parent96b5e02387ddd27279289865b9343498489f8ae1 (diff)
php-channel-phpseclib: backportHEADmaster
-rw-r--r--php-channel-phpseclib.spec10
1 files changed, 10 insertions, 0 deletions
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 <rpms@famillecollet.com> - 1.3-1
+- backport for remi repo
+
* Sat Jan 4 2014 Adam Williamson <awilliam@redhat.com> - 1.3-1
- version using the rest version
- drop use of tabs