Il 09/02/2017 14:32, gil ha scritto:
Il 09/02/2017 14:21, gil ha scritto:
Il 09/02/2017 13:43, Martin Gansser ha scritto:
I found no doc file in the build folder.
can you paste here the build log. or tell ne if the javadoc task was
executed
regards
.g
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Other issues:
Please, use find . -name "*.jar" -delete
instead of
rm -f jgoodies* xz* common*
Why link system libraries? All Dependencies are imported in classpath
by our Java Tools...
Please, remove
ln -sf %{_javadir}/commons-compress.jar commons-compress.jar
ln -sf %{_javadir}/apache-commons-lang.jar commons-lang.jar
ln -sf %{_javadir}/jdom.jar jdom.jar
ln -sf %{_javadir}/jide-oss.jar jide-oss.jar
ln -sf %{_javadir}/jgoodies-common.jar jgoodies-common.jar
ln -sf %{_javadir}/jgoodies-forms.jar forms.jar
ln -sf %{_javadir}/xz.jar xz.jar
# fix "groupId must be specified"
see
https://github.com/mediathekview/MediathekView/blob/master/build.gradle#L64
Please, change mSearch with de.mediathekview
echo 'group = "mSearch "' >> build.gradle
%build
%gradle_build
%install
is useless (?) for a java package? no make sense for me ...
export NO_BRP_CHECK_BYTECODE_VERSION=true
%mvn_install
Please, remove becuse of " Versioned JAR files (*-%{version}.jar) MUST
NOT be installed unless the package is a compatibility package"
see https://fedoraproject.org/wiki/Packaging:Java#Filenames
install -D -m644 build/libs/%{name}-%{version}.jar
%{buildroot}%{_javadir}/%{name}/%{name}-%{version}.jar
pushd %{buildroot}%{_javadir}/%{name}
ln -sf %{name}-%{version}.jar %{name}.jar
popd
%files
%doc res/README.txt
%license src/main/resources/MSearch-LICENSE.txt
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/%{name}.jar
%{_javadir}/%{name}/%{name}-%{version}.jar
%{_datadir}/maven-metadata/%{name}.xml
Please, change with this. NOTE "%{_javadir}/%{name}" is already owned
in the .mfiles file
%files -f .mfiles
%doc res/README.txt
%license src/main/resources/MSearch-LICENSE.txt
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
and fix %changelog entries
regards
.g
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx