summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpseclib-crypt-twofish.spec22
1 files changed, 12 insertions, 10 deletions
diff --git a/php-phpseclib-crypt-twofish.spec b/php-phpseclib-crypt-twofish.spec
index c5beb77..746c8db 100644
--- a/php-phpseclib-crypt-twofish.spec
+++ b/php-phpseclib-crypt-twofish.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_Twofish
Name: php-phpseclib-crypt-twofish
-Version: 0.3.5
-Release: 3%{?dist}
+Version: 0.3.6
+Release: 1%{?dist}
Summary: Pure-PHP implementation of Twofish
Group: Development/Libraries
@@ -40,20 +39,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
@@ -74,6 +73,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-3
- backport for remi repo