[rmic-maven-plugin] Consistently using 'buildroot' macro instead of 'RPM_BUILD_ROOT' now

spike spike at fedoraproject.org
Tue Oct 5 16:10:40 UTC 2010


commit 0c811dc3df8b5007e0b6cf5bdbdd1c2a9c927887
Author: spike <spike at fedoraproject.org>
Date:   Tue Oct 5 18:09:49 2010 +0200

    Consistently using 'buildroot' macro instead of 'RPM_BUILD_ROOT' now

 rmic-maven-plugin.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/rmic-maven-plugin.spec b/rmic-maven-plugin.spec
index 2de48a7..043804b 100644
--- a/rmic-maven-plugin.spec
+++ b/rmic-maven-plugin.spec
@@ -1,6 +1,6 @@
 Name:             rmic-maven-plugin
 Version:          1.1
-Release:          4%{?dist}
+Release:          5%{?dist}
 Summary:          Uses the java rmic compiler to generate classes used in remote method invocation
 License:          MIT
 Group:            Development/Libraries
@@ -65,7 +65,7 @@ mvn-jpp \
         install javadoc:javadoc
 
 %install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 # jars
 install -d -m 0755 %{buildroot}%{_javadir}
@@ -83,7 +83,7 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}-%{version}/
 ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %post
 %update_maven_depmap
@@ -105,6 +105,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_javadocdir}/%{name}
 
 %changelog
+* Tue Oct 5 2010 Chris Spike <chris.spike at arcor.de> 1.1-5
+- Consistently using 'buildroot' macro instead of 'RPM_BUILD_ROOT' now
+
 * Thu Jul 15 2010 Chris Spike <chris.spike at arcor.de> 1.1-4
 - Set maven2.jpp.mode to true
 - Extensive use of buildroot-macro


More information about the scm-commits mailing list