summaryrefslogtreecommitdiffstats
path: root/php-phpseclib-math-biginteger.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
commit86b087dce53bbba9e9c30d0f5d932550e9563be7 (patch)
treeb913f7889913f43754f486aaca6d8bae60fe3fed /php-phpseclib-math-biginteger.spec
parentaefef4922f15bb0f4141eea559414d3a4f7fbccc (diff)
php-phpseclib-*: 0.3.6
Diffstat (limited to 'php-phpseclib-math-biginteger.spec')
-rw-r--r--php-phpseclib-math-biginteger.spec22
1 files changed, 12 insertions, 10 deletions
diff --git a/php-phpseclib-math-biginteger.spec b/php-phpseclib-math-biginteger.spec
index 01c0e39..3bb3031 100644
--- a/php-phpseclib-math-biginteger.spec
+++ b/php-phpseclib-math-biginteger.spec
@@ -1,10 +1,9 @@
-%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
-%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+%{!?__pear: %global __pear %{_bindir}/pear}
%global pear_name Math_BigInteger
Name: php-phpseclib-math-biginteger
-Version: 0.3.5
-Release: 2%{?dist}
+Version: 0.3.6
+Release: 1%{?dist}
Summary: Pure-PHP arbitrary precision integer arithmetic library
Group: Development/Libraries
@@ -45,20 +44,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
@@ -81,6 +80,9 @@ fi
%changelog
+* Wed Feb 26 2014 Remi Collet <remi@fedoraproject.org> - 0.3.6-1
+- Update to 0.3.6
+
* Wed Jan 15 2014 Remi Collet <rpms@famillecollet.com> - 0.3.5-2
- backport for remi repo