summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--php-phpseclib-net-sftp.spec12
2 files changed, 11 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1ab5c4f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+package-*.xml
+*.tgz
+*.tar.gz
+*.tar.xz
+*.tar.xz.asc
+*.src.rpm
+*/*rpm
diff --git a/php-phpseclib-net-sftp.spec b/php-phpseclib-net-sftp.spec
index 2497a48..461fd81 100644
--- a/php-phpseclib-net-sftp.spec
+++ b/php-phpseclib-net-sftp.spec
@@ -11,7 +11,7 @@
%global pear_name Net_SFTP
Name: php-phpseclib-net-sftp
-Version: 1.0.5
+Version: 1.0.6
Release: 1%{?dist}
Summary: Pure-PHP implementation of SFTP
@@ -20,7 +20,6 @@ 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)
BuildRequires: php-channel(phpseclib.sourceforge.net)
@@ -53,7 +52,6 @@ cd %{pear_name}-%{version}
%install
-rm -rf %{buildroot}
cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
@@ -65,10 +63,6 @@ mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
-%clean
-rm -rf %{buildroot}
-
-
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -81,13 +75,15 @@ fi
%files
-%defattr(-, root, root, -)
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Net/SFTP
%{pear_phpdir}/Net/SFTP.php
%changelog
+* Mon May 8 2017 Remi Collet <remi@remirepo.net> - 1.0.6-1
+- Update to 1.0.6
+
* Tue Oct 25 2016 Remi Collet <remi@fedoraproject.org> - 1.0.5-1
- Update to 1.0.5 (no change)