* Wed Dec 8 2010 Alexander Kurtakov <akurtako@redhat.com> 0:0.1.44-2

- BR zip.
- Don't install versioned jar.
This commit is contained in:
Alexander Kurtakov 2010-12-08 01:06:22 +02:00
parent 737bada474
commit 1f6fcb43fe

View File

@ -30,7 +30,7 @@
Name: jsch
Version: 0.1.44
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 0
Summary: Pure Java implementation of SSH2
Group: Development/Libraries
@ -52,6 +52,7 @@ BuildRequires: jpackage-utils >= 0:1.5
BuildRequires: java-devel >= 1.4.2
BuildRequires: jzlib >= 0:1.0.5
BuildRequires: ant
BuildRequires: zip
BuildArch: noarch
@ -95,8 +96,7 @@ zip dist/lib/%{name}-*.jar META-INF/MANIFEST.MF
# jars
rm -rf $RPM_BUILD_ROOT
install -Dpm 644 dist/lib/%{name}-*.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
$RPM_BUILD_ROOT%{_javadir}/%{name}.jar
# javadoc
install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
@ -128,6 +128,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Dec 8 2010 Alexander Kurtakov <akurtako@redhat.com> 0:0.1.44-2
- BR zip.
- Don't install versioned jar.
* Tue Nov 2 2010 Alexander Kurtakov <akurtako@redhat.com> 0:0.1.44-1
- New upstream version.