public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mat Booth <fedora@matbooth.co.uk>
To: git-commits@fedoraproject.org
Subject: [rpms/stringtemplate] epel10: Fix FTBFS #993386
Date: Thu, 20 Aug 2026 11:50:38 GMT	[thread overview]
Message-ID: <178722663859.1.8652867658054278213.rpms-stringtemplate-c7322aff104a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/stringtemplate
Branch : epel10
Commit : c7322aff104a12f85f49c13e8518aac16bf9591f
Author : Mat Booth <fedora@matbooth.co.uk>
Date   : 2013-08-14T13:49:24+01:00
Stats  : +8/-23 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/stringtemplate/c/c7322aff104a12f85f49c13e8518aac16bf9591f?branch=epel10

Log:
Fix FTBFS #993386

---
diff --git a/stringtemplate.spec b/stringtemplate.spec
index e8aeb56..16b67e9 100644
--- a/stringtemplate.spec
+++ b/stringtemplate.spec
@@ -1,7 +1,7 @@
 Summary: A Java template engine
 Name: stringtemplate
 Version: 3.2.1
-Release: 6%{?dist}
+Release: 7%{?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
@@ -9,14 +9,12 @@ Patch0: stringtemplate-3.1-build-junit.patch
 License: BSD
 Group: Development/Libraries
 BuildArch: noarch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: ant-antlr, ant-junit
 BuildRequires: antlr
 # Standard deps
 BuildRequires: java-devel >= 1:1.6.0
 BuildRequires: jpackage-utils
 Requires: java >= 1:1.6.0
-Requires: jpackage-utils
 Requires: antlr-tool
 
 %description
@@ -44,40 +42,27 @@ ant jar
 ant javadocs -Dpackages= -Djavadocs.additionalparam=
 
 %install
-rm -rf $RPM_BUILD_ROOT
 install -D build/stringtemplate.jar $RPM_BUILD_ROOT%{_datadir}/java/stringtemplate.jar
-(cd $RPM_BUILD_ROOT%{_datadir}/java/ && ln -s stringtemplate.jar stringtemplate-%{version}.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_to_maven_depmap org.antlr %{name} %{version} JPP %{name}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
-# Fails for some unknown reason now, but it's worked historically... -CEM
-#%%check
-#ant test
+%add_maven_depmap JPP-%{name}.pom stringtemplate.jar
 
 %files
-%defattr(-,root,root)
 %doc LICENSE.txt README.txt
-%{_datadir}/java/*.jar
+%{_datadir}/java/%{name}.jar
 %{_mavenpomdir}/JPP-%{name}.pom
-%config(noreplace) %{_mavendepmapfragdir}/%{name}
+%{_mavendepmapfragdir}/%{name}
 
 %files javadoc
-%defattr(-,root,root)
+%doc LICENSE.txt
 %{_javadocdir}/%{name}
 
 %changelog
+* Wed Aug 14 2013 Mat Booth <fedora@matbooth.co.uk> - 3.2.1-7
+- Fix FTBFS #993386
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 

                 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=178722663859.1.8652867658054278213.rpms-stringtemplate-c7322aff104a@fedoraproject.org \
    --to=fedora@matbooth.co.uk \
    --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