public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/maven-reporting-api] epel10: Build with xmvn
@ 2026-11-04 17:42 Mikolaj Izdebski
0 siblings, 0 replies; only message in thread
From: Mikolaj Izdebski @ 2026-11-04 17:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/maven-reporting-api
Branch : epel10
Commit : e8a6a4f610ce7add55290a009d7e4c2e3f6207c0
Author : Mikolaj Izdebski <mizdebsk@redhat.com>
Date : 2013-02-18T17:56:29+01:00
Stats : +13/-30 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/maven-reporting-api/c/e8a6a4f610ce7add55290a009d7e4c2e3f6207c0?branch=epel10
Log:
Build with xmvn
- Resolves: rhbz#912437
---
diff --git a/maven-reporting-api.spec b/maven-reporting-api.spec
index 401fa12..12906c4 100644
--- a/maven-reporting-api.spec
+++ b/maven-reporting-api.spec
@@ -1,6 +1,6 @@
Name: maven-reporting-api
Version: 3.0
-Release: 2%{?dist}
+Release: 3%{?dist}
# Maven-shared defines maven-reporting-api version as 3.0
Epoch: 1
Summary: API to manage report generation
@@ -14,12 +14,9 @@ Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildArch: noarch
-BuildRequires: java-devel
-BuildRequires: jpackage-utils
BuildRequires: maven-local
-Requires: java
-Requires: jpackage-utils
-Requires: maven-doxia-sink-api
+BuildRequires: mvn(org.apache.maven.shared:maven-shared-components)
+BuildRequires: mvn(org.apache.maven.doxia:doxia-sink-api)
Obsoletes: maven-shared-reporting-api < %{epoch}:%{version}-%{release}
Provides: maven-shared-reporting-api = %{epoch}:%{version}-%{release}
@@ -32,9 +29,7 @@ from Maven 3 core.
This is a replacement package for maven-shared-reporting-api
%package javadoc
-Group: Documentation
Summary: Javadoc for %{name}
-Requires: jpackage-utils
%description javadoc
API documentation for %{name}.
@@ -42,40 +37,28 @@ API documentation for %{name}.
%prep
%setup -q
-
cp %{SOURCE1} LICENSE.txt
%build
-mvn-rpmbuild package javadoc:aggregate
+# Previous package provides groupIds org.apache.maven.shared and org.apache.maven.reporting
+%mvn_alias : org.apache.maven.shared:maven-reporting-api
+%mvn_build
%install
-# JAR
-install -Ddm 755 %{buildroot}/%{_javadir}
-install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
-
-# POM
-install -Ddm 755 %{buildroot}/%{_mavenpomdir}
-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}
+%mvn_install
-# Previous package provides groupIds org.apache.maven.shared and org.apache.maven.reporting
-%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "org.apache.maven.shared:maven-reporting-api"
-
-%files
+%files -f .mfiles
%doc LICENSE.txt
-%{_javadir}/%{name}.jar
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
-%files javadoc
+%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt
-%doc %{_javadocdir}/%{name}
%changelog
+* Mon Feb 18 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.0-3
+- Build with xmvn
+- Resolves: rhbz#912437
+
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1:3.0-2
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
- Replace maven BuildRequires with maven-local
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-04 17:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 17:42 [rpms/maven-reporting-api] epel10: Build with xmvn Mikolaj Izdebski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox