summaryrefslogtreecommitdiffstats
path: root/php-phpseclib-crypt-rsa.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-02-26 18:25:38 +0100
committerRemi Collet <fedora@famillecollet.com>2014-02-26 18:25:38 +0100
commit4d1c2b91643f978bae4768b0c689e50db722fb26 (patch)
treea19596e76e1892673e395a7b975fcd751ca8a037 /php-phpseclib-crypt-rsa.spec
parentd3b965a9546e6f52b47e30e00be525e18f68939e (diff)
php-phpseclib-*: 0.3.6
Diffstat (limited to 'php-phpseclib-crypt-rsa.spec')
-rw-r--r--php-phpseclib-crypt-rsa.spec21
1 files changed, 12 insertions, 9 deletions
diff --git a/php-phpseclib-crypt-rsa.spec b/php-phpseclib-crypt-rsa.spec
index 0672310..b7623ad 100644
--- a/php-phpseclib-crypt-rsa.spec
+++ b/php-phpseclib-crypt-rsa.spec
@@ -1,9 +1,9 @@
-%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+%{!?__pear: %global __pear %{_bindir}/pear}
%global pear_name Crypt_RSA
Name: php-phpseclib-crypt-rsa
-Version: 0.3.5
-Release: 3%{?dist}
+Version: 0.3.6
+Release: 1%{?dist}
Summary: Pure-PHP PKCS#1 (v2.1) compliant implementation of RSA
Group: Development/Libraries
@@ -51,20 +51,20 @@ cd %{pear_name}-%{version}
%install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
cd %{pear_name}-%{version}
-%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
+%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
-rm -rf $RPM_BUILD_ROOT%{pear_metadir}/.??*
+rm -rf %{buildroot}%{pear_metadir}/.??*
# Install XML package description
-mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
-install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
+mkdir -p %{buildroot}%{pear_xmldir}
+install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%post
@@ -87,6 +87,9 @@ fi
%changelog
+* Wed Feb 26 2014 Remi Collet <remi@fedoraproject.org> - 0.3.6-1
+- Update to 0.3.6
+
* Sat Jan 24 2014 Remi Collet <rpms@famillecollet.com> - 0.3.5-3
- backport for remi repo