public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/maven-script-interpreter] epel10: Adapt to current guidelines
@ 2026-11-01 13:18 Michal Srb
  0 siblings, 0 replies; only message in thread
From: Michal Srb @ 2026-11-01 13:18 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-01 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-01 13:18 [rpms/maven-script-interpreter] epel10: Adapt to current guidelines Michal Srb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox