commit 4ea827fcc937b3ec36f54f9a00af8371cdc854ed Author: Michal Srb msrb@redhat.com Date: Tue Jan 22 13:33:20 2013 +0100
Build with xmvn
maven-idea-plugin.spec | 35 +++++++++-------------------------- 1 files changed, 9 insertions(+), 26 deletions(-) --- diff --git a/maven-idea-plugin.spec b/maven-idea-plugin.spec index dc96432..ae0e58a 100644 --- a/maven-idea-plugin.spec +++ b/maven-idea-plugin.spec @@ -1,6 +1,6 @@ Name: maven-idea-plugin Version: 2.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Maven IDEA Plugin
Group: Development/Libraries @@ -30,10 +30,6 @@ BuildRequires: maven-jar-plugin BuildRequires: maven-javadoc-plugin BuildRequires: maven-plugin-testing-harness BuildRequires: dom4j -Requires: ant -Requires: maven -Requires: jpackage-utils -Requires: java
Obsoletes: maven2-plugin-idea <= 0:2.0.8 Provides: maven2-plugin-idea = 1:%{version}-%{release} @@ -46,7 +42,6 @@ project so you can work on it using the IDE, IntelliJ IDEA. %package javadoc Group: Documentation Summary: API documentation for %{name} -Requires: jpackage-utils
%description javadoc %{summary}. @@ -59,36 +54,24 @@ Requires: jpackage-utils cp %{SOURCE1} .
%build +%mvn_file : %{name} # we skip test because even with binary mvn release these fail for # various reasons. -mvn-rpmbuild -e \ - -Dmaven.test.failure.ignore=true \ - install javadoc:javadoc +%mvn_build -f
%install -# jars -install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar +%mvn_install
-# poms -install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom - -%add_maven_depmap JPP-%{name}.pom %{name}.jar - -# javadoc -install -dm 755 %{buildroot}%{_javadocdir}/%{name} -cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/ - -%files +%files -f .mfiles %doc LICENSE-2.0.txt -%{_javadir}/* -%{_mavenpomdir}/* -%{_mavendepmapfragdir}/*
-%files javadoc +%files javadoc -f .mfiles-javadoc %doc LICENSE-2.0.txt -%{_javadocdir}/%{name}
%changelog +* Tue Feb 12 2013 Michal Srb msrb@redhat.com - 2.2-11 +- Build with xmvn + * Wed Feb 06 2013 Java SIG java-devel@lists.fedoraproject.org - 2.2-10 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local
java-sig-commits@lists.fedoraproject.org