public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mat Booth <mat.booth@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/stringtemplate] epel10: Modernise spec
Date: Thu, 20 Aug 2026 11:50:43 GMT [thread overview]
Message-ID: <178722664306.1.197055109660660337.rpms-stringtemplate-0fc7fede6065@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/stringtemplate
Branch : epel10
Commit : 0fc7fede6065ecf1572a44908b920501a6efeb81
Author : Mat Booth <mat.booth@redhat.com>
Date : 2017-12-15T15:32:56+00:00
Stats : +16/-17 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/stringtemplate/c/0fc7fede6065ecf1572a44908b920501a6efeb81?branch=epel10
Log:
Modernise spec
---
diff --git a/stringtemplate.spec b/stringtemplate.spec
index 7101ff0..87c982c 100644
--- a/stringtemplate.spec
+++ b/stringtemplate.spec
@@ -1,20 +1,19 @@
Summary: A Java template engine
Name: stringtemplate
Version: 3.2.1
-Release: 15%{?dist}
+Release: 16%{?dist}
URL: http://www.stringtemplate.org/
Source0: http://www.stringtemplate.org/download/stringtemplate-%{version}.tar.gz
# Build jUnit tests + make the antlr2 generated code before preparing sources
Patch0: stringtemplate-3.1-build-junit.patch
License: BSD
-Group: Development/Libraries
-BuildArch: noarch
-BuildRequires: ant-antlr, ant-junit
-BuildRequires: antlr
-# Standard deps
-BuildRequires: java-devel >= 1:1.6.0
+
+BuildRequires: ant
+BuildRequires: ant-antlr
+BuildRequires: ant-junit
BuildRequires: javapackages-local
-Requires: antlr-tool
+
+BuildArch: noarch
%description
StringTemplate is a java template engine (with ports for
@@ -25,7 +24,6 @@ multiple site skins, and internationalization/localization.
%package javadoc
Summary: API documentation for %{name}
-Group: Documentation
Requires: java-javadoc
%description javadoc
@@ -41,21 +39,22 @@ ant jar
ant javadocs -Dpackages= -Djavadocs.additionalparam="-Xdoclint:none"
%install
-install -D build/stringtemplate.jar $RPM_BUILD_ROOT%{_datadir}/java/stringtemplate.jar
-install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
-cp -pR docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
-
-install -Dpm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
-%add_maven_depmap JPP-%{name}.pom stringtemplate.jar
+%mvn_artifact pom.xml build/%{name}.jar
+%mvn_file : %{name}
+%mvn_install -J docs/api/
%files -f .mfiles
-%doc LICENSE.txt README.txt
+%license LICENSE.txt
+%doc README.txt
%files javadoc
-%doc LICENSE.txt
+%license LICENSE.txt
%{_javadocdir}/%{name}
%changelog
+* Fri Dec 15 2017 Mat Booth <mat.booth@redhat.com> - 3.2.1-16
+- Modernise spec
+
* Mon Oct 2 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.1-15
- Workaround strict javadoc doclint
- Resolves: rhbz#1495145
reply other threads:[~2026-08-20 11:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178722664306.1.197055109660660337.rpms-stringtemplate-0fc7fede6065@fedoraproject.org \
--to=mat.booth@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox