public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Srb <msrb@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/maven-script-interpreter] epel10: Adapt to current guidelines
Date: Sun, 01 Nov 2026 13:18:06 GMT	[thread overview]
Message-ID: <179353908669.1.10356293577301709504.rpms-maven-script-interpreter-640166ff76b5@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/maven-script-interpreter
Branch : epel10
Commit : 640166ff76b53a1f391c830c46f5e7ecb84afdd9
Author : Michal Srb <msrb@redhat.com>
Date   : 2013-08-05T13:34:33+02:00
Stats  : +15/-33 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/maven-script-interpreter/c/640166ff76b53a1f391c830c46f5e7ecb84afdd9?branch=epel10

Log:
Adapt to current guidelines

---
diff --git a/maven-script-interpreter.spec b/maven-script-interpreter.spec
index 8d31fb9..a2fb0c3 100644
--- a/maven-script-interpreter.spec
+++ b/maven-script-interpreter.spec
@@ -1,8 +1,7 @@
 Name:           maven-script-interpreter
 Version:        1.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Maven Script Interpreter
-Group:          Development/Libraries  
 License:        ASL 2.0
 URL:            http://maven.apache.org/shared/%{name}
 Source0:        http://central.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
@@ -12,19 +11,15 @@ Patch0:         %{name}-plexus.patch
 
 BuildArch:      noarch
 
-BuildRequires:  java-devel >= 1:1.6.0
-BuildRequires:  jpackage-utils
-BuildRequires:  groovy
 BuildRequires:  maven-local
-BuildRequires:  maven-surefire-provider-junit4
-BuildRequires:  plexus-containers-component-metadata
+BuildRequires:  mvn(junit:junit)
+BuildRequires:  mvn(org.apache.ant:ant)
+BuildRequires:  mvn(org.apache.maven.shared:maven-shared-components)
+BuildRequires:  mvn(org.apache.maven:maven-plugin-api)
+BuildRequires:  mvn(org.beanshell:bsh)
+BuildRequires:  mvn(org.codehaus.groovy:groovy)
+BuildRequires:  mvn(org.codehaus.plexus:plexus-utils)
 
-Requires:       java
-Requires:       jpackage-utils
-Requires:       bsh
-Requires:       groovy
-Requires:       maven
-Requires:       plexus-utils
 
 %description
 This component provides some utilities to interpret/execute some scripts for
@@ -32,9 +27,7 @@ various implementations: Groovy or BeanShell.
 
 
 %package javadoc
-Group:          Documentation
 Summary:        Javadoc for %{name}
-Requires:       jpackage-utils
     
 %description javadoc
 API documentation for %{name}.
@@ -45,33 +38,22 @@ API documentation for %{name}.
 %patch0 -p1
 
 %build
-mvn-rpmbuild install javadoc:aggregate -Dproject.build.sourceEncoding=UTF-8
+%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
 
 %install
-# JAR
-install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+%mvn_install
 
-# POM
-install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-
-# JavaDoc
-install -Ddm 755 %{buildroot}/%{_javadocdir}/%{name}
-cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
-
-%add_maven_depmap JPP-%{name}.pom %{name}.jar
-
-%files
+%files -f .mfiles
 %doc DEPENDENCIES LICENSE NOTICE
-%{_javadir}/%{name}.jar
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
 
-%files javadoc
+%files javadoc -f .mfiles-javadoc
 %doc LICENSE NOTICE
-%doc %{_javadocdir}/%{name}
 
 
 %changelog
+* Mon Aug 05 2013 Michal Srb <msrb@redhat.com> - 1.0-5
+- Adapt to current guidelines
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 

                 reply	other threads:[~2026-11-01 13:18 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=179353908669.1.10356293577301709504.rpms-maven-script-interpreter-640166ff76b5@fedoraproject.org \
    --to=msrb@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