Guidelines fixes.

Rebuild for OSGi provides.
This commit is contained in:
Alexander Kurtakov 2011-09-15 23:26:08 +03:00
parent ba99e0d12e
commit b2fd24b0a7

View File

@ -30,7 +30,7 @@
Name: jsch Name: jsch
Version: 0.1.44 Version: 0.1.44
Release: 3%{?dist} Release: 4%{?dist}
Epoch: 0 Epoch: 0
Summary: Pure Java implementation of SSH2 Summary: Pure Java implementation of SSH2
Group: Development/Libraries Group: Development/Libraries
@ -94,40 +94,35 @@ zip dist/lib/%{name}-*.jar META-INF/MANIFEST.MF
%install %install
# jars # jars
rm -rf $RPM_BUILD_ROOT
install -Dpm 644 dist/lib/%{name}-*.jar \ install -Dpm 644 dist/lib/%{name}-*.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
# javadoc # javadoc
install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
# examples # examples
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version} 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}
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%{_javadir}/*.jar %{_javadir}/*.jar
%doc LICENSE.txt %doc LICENSE.txt
%files javadoc %files javadoc
%defattr(-,root,root,-)
%doc %{_javadocdir}/%{name}* %doc %{_javadocdir}/%{name}*
%doc LICENSE.txt %doc LICENSE.txt
%files demo %files demo
%defattr(-,root,root,-)
%doc %{_datadir}/%{name}* %doc %{_datadir}/%{name}*
%doc LICENSE.txt %doc LICENSE.txt
%changelog %changelog
* Thu Sep 15 2011 Alexander Kurtakov <akurtako@redhat.com> 0:0.1.44-4
- Guidelines fixes.
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.1.44-3 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.1.44-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild