]> git.pld-linux.org Git - packages/nailgun.git/commitdiff
noarch javadoc, BR unzip AC-branch auto/ac/nailgun-0.7.1-1 auto/th/nailgun-0.7.1-1
authorElan Ruusamäe <glen@delfi.ee>
Tue, 18 Mar 2014 18:40:35 +0000 (20:40 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 18 Mar 2014 18:40:35 +0000 (20:40 +0200)
nailgun.spec

index 5bf57dce6b89f444c759012f58b5577af4515a31..bb0a5a1b8ee3119129cb9556d6123f2477c76a3a 100644 (file)
@@ -9,7 +9,7 @@
 Summary:       Framework for running Java from the cli without the JVM startup overhead
 Name:          nailgun
 Version:       0.7.1
-Release:       0.1
+Release:       1
 License:       Apache v2.0
 Group:         Applications/System
 Source0:       http://downloads.sourceforge.net/nailgun/%{name}-src-%{version}.zip
@@ -21,6 +21,7 @@ BuildRequires:        ant
 %{?with_tests:BuildRequires:   ant-junit}
 BuildRequires: jdk
 BuildRequires: jpackage-utils
+BuildRequires: unzip
 Requires:      jpackage-utils
 Requires:      jre
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,6 +35,9 @@ triggered by the client (written in C), which handles all I/O.
 %package javadoc
 Summary:       Javadocs for %{name}
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description javadoc
 This package contains the API documentation for %{name}.
@@ -76,8 +80,8 @@ ln -nfs %{name}-%{version} %{_javadocdir}/%{name}
 %files
 %defattr(644,root,root,755)
 %doc LICENSE.txt README.txt
-%{_javadir}/nailgun.jar
 %attr(755,root,root) %{_bindir}/ng
+%{_javadir}/nailgun*.jar
 
 %if %{with javadoc}
 %files javadoc
This page took 0.092048 seconds and 4 git commands to generate.