summaryrefslogtreecommitdiffstats
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
commit07b5854fbb7d48d317d34c61da55a538646c668d (patch)
treea3fcca2b08334ffe3c53210aee06cf559340d599
parente5e35db8621c37ae2d308ce3dafe894331056bdb (diff)
php-phpseclib-*: 0.3.6
-rw-r--r--php-phpseclib-crypt-hash.spec22
1 files changed, 12 insertions, 10 deletions
diff --git a/php-phpseclib-crypt-hash.spec b/php-phpseclib-crypt-hash.spec
index 12bb062..f00a02c 100644
--- a/php-phpseclib-crypt-hash.spec
+++ b/php-phpseclib-crypt-hash.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 Crypt_Hash
Name: php-phpseclib-crypt-hash
-Version: 0.3.5
-Release: 2%{?dist}
+Version: 0.3.6
+Release: 1%{?dist}
Summary: Pure-PHP implementations of keyed HMACs and hashing functions
Group: Development/Libraries
@@ -42,20 +41,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
@@ -76,6 +75,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