From 087409e95974a5b894f0fae616c33d172a8e7838 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 15 Jan 2014 07:01:15 +0100 Subject: php-phpseclib-crypt-aes: backport --- php-phpseclib-crypt-aes.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/php-phpseclib-crypt-aes.spec b/php-phpseclib-crypt-aes.spec index 2e4e35b..61c6c4c 100644 --- a/php-phpseclib-crypt-aes.spec +++ b/php-phpseclib-crypt-aes.spec @@ -12,6 +12,7 @@ License: MIT URL: http://phpseclib.sourceforge.net/ Source0: http://phpseclib.sourceforge.net/get/%{pear_name}-%{version}.tgz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-pear(PEAR) @@ -40,6 +41,7 @@ cd %{pear_name}-%{version} %install +rm -rf $RPM_BUILD_ROOT cd %{pear_name}-%{version} %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml @@ -51,6 +53,10 @@ mkdir -p $RPM_BUILD_ROOT%{pear_xmldir} install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir} +%clean +rm -rf $RPM_BUILD_ROOT + + %post %{__pear} install --nodeps --soft --force --register-only \ %{pear_xmldir}/%{name}.xml >/dev/null || : @@ -63,11 +69,15 @@ fi %files +%defattr(-, root, root, -) %{pear_xmldir}/%{name}.xml %{pear_phpdir}/Crypt/AES.php %changelog +* Wed Jan 15 2014 Remi Collet - 0.3.5-2 +- backport for remi repo + * Sat Jan 4 2014 Adam Williamson - 0.3.5-2 - various review style cleanups -- cgit