Update to new upstream version.

This commit is contained in:
Alexander Kurtakov 2010-08-16 15:54:21 +03:00
parent 69e6a6fa8c
commit b47174ba95
2 changed files with 6 additions and 34 deletions

View File

@ -28,13 +28,9 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# #
%define section free
%define gcj_support 0
Name: jsch Name: jsch
Version: 0.1.41 Version: 0.1.43
Release: 4%{?dist} Release: 1%{?dist}
Epoch: 0 Epoch: 0
Summary: Pure Java implementation of SSH2 Summary: Pure Java implementation of SSH2
Group: Development/Libraries Group: Development/Libraries
@ -59,15 +55,8 @@ BuildRequires: java-devel >= 1.4.2
BuildRequires: jzlib >= 0:1.0.5 BuildRequires: jzlib >= 0:1.0.5
BuildRequires: ant BuildRequires: ant
%if ! %{gcj_support}
BuildArch: noarch BuildArch: noarch
%endif
%if %{gcj_support}
BuildRequires: java-gcj-compat-devel >= 1.0.31
Requires(post): java-gcj-compat >= 1.0.31
Requires(postun): java-gcj-compat >= 1.0.31
%endif
Requires: jzlib >= 0:1.0.5 Requires: jzlib >= 0:1.0.5
%description %description
@ -119,34 +108,13 @@ install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
cp -pr examples/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version} cp -pr examples/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name} ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name}
%if %{gcj_support}
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=234989
%ifnarch ia64
aot-compile-rpm
%endif
%endif
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%if %{gcj_support}
%post
%{_bindir}/rebuild-gcj-db
%postun
%{_bindir}/rebuild-gcj-db
%endif
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_javadir}/*.jar %{_javadir}/*.jar
%doc LICENSE.txt %doc LICENSE.txt
%if %{gcj_support}
%ifnarch ia64
%attr(-,root,root) %{_libdir}/gcj/%{name}
%endif
%endif
%files javadoc %files javadoc
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -158,6 +126,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Aug 16 2010 aAlexander Kurtakov <akurtako@redhat.com> 0:0.1.43-1
- Update to new upastream version.
* Mon Jan 11 2010 Andrew Overholt <overholt@redhat.com> 0:0.1.41-4 * Mon Jan 11 2010 Andrew Overholt <overholt@redhat.com> 0:0.1.41-4
- Fix changelog formatting error - Fix changelog formatting error

View File

@ -1 +1,2 @@
6ef2d9ef9c84d707ecbbaead5f93ed2e jsch-0.1.41.zip 6ef2d9ef9c84d707ecbbaead5f93ed2e jsch-0.1.41.zip
ccf75ce1ee6e2eba717602ff8c344c74 jsch-0.1.43.zip