From b2fd24b0a732d9e43ec83509ff545de3e80e9603 Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Thu, 15 Sep 2011 23:26:08 +0300 Subject: [PATCH] Guidelines fixes. Rebuild for OSGi provides. --- jsch.spec | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/jsch.spec b/jsch.spec index 9b5b8ba..9624285 100644 --- a/jsch.spec +++ b/jsch.spec @@ -30,7 +30,7 @@ Name: jsch Version: 0.1.44 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 0 Summary: Pure Java implementation of SSH2 Group: Development/Libraries @@ -94,40 +94,35 @@ zip dist/lib/%{name}-*.jar META-INF/MANIFEST.MF %install # jars -rm -rf $RPM_BUILD_ROOT install -Dpm 644 dist/lib/%{name}-*.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}.jar # javadoc -install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} -cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} -ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} +install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name} +cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} # examples install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version} cp -pr examples/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version} ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name} -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %{_javadir}/*.jar %doc LICENSE.txt %files javadoc -%defattr(-,root,root,-) %doc %{_javadocdir}/%{name}* %doc LICENSE.txt %files demo -%defattr(-,root,root,-) %doc %{_datadir}/%{name}* %doc LICENSE.txt %changelog +* Thu Sep 15 2011 Alexander Kurtakov 0:0.1.44-4 +- Guidelines fixes. + * Wed Feb 09 2011 Fedora Release Engineering - 0:0.1.44-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild