diff --git a/clojure.spec b/clojure.spec index 6e37c6e..da50351 100644 --- a/clojure.spec +++ b/clojure.spec @@ -6,15 +6,13 @@ Name: clojure Epoch: 1 Version: 1.10.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A dynamic programming language that targets the Java Virtual Machine License: EPL-1.0 URL: http://clojure.org/ Source0: https://github.com/%{name}/%{name}/archive/%{name}-%{version}.zip -Source1: clojure.sh - BuildArch: noarch BuildRequires: maven-local @@ -47,18 +45,21 @@ can avoid reflection. %mvn_build -f -j %install -# startup script -install -d -m 755 %{buildroot}%{_bindir} -install -pm 755 %{SOURCE1} %{buildroot}%{_bindir}/%{name} %mvn_install +# startup script +%jpackage_script clojure.main "" "" clojure:clojure-spec-alpha:clojure-core-specs-alpha clojure false + %files -f .mfiles %license epl-v10.html %doc changes.md readme.txt %{_bindir}/%{name} %changelog +* Sat May 02 2020 Markku Korkeala - 1:1.10.1-3 +- Use jpackage_script to generate clojure application shell script. + * Fri May 01 2020 Fabio Valentini - 1:1.10.1-2 - Remove unnecessary maven-release-plugin and drop redundant Requires.