Update to new upstream version.
This commit is contained in:
parent
69e6a6fa8c
commit
b47174ba95
39
jsch.spec
39
jsch.spec
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user