[packages/wordpress-plugin-bbpress] use versioned build dir

glen glen at pld-linux.org
Tue Oct 15 16:11:42 CEST 2013


commit 268ba763820ad5c757a6cce4de4e25f0997fa2a1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Oct 15 17:11:33 2013 +0300

    use versioned build dir

 wordpress-plugin-bbpress.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/wordpress-plugin-bbpress.spec b/wordpress-plugin-bbpress.spec
index 6cbf714..ffab086 100644
--- a/wordpress-plugin-bbpress.spec
+++ b/wordpress-plugin-bbpress.spec
@@ -33,7 +33,9 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 bbPress is forum software, made the WordPress way.
 
 %prep
-%setup -qn %{plugin}
+%setup -qc
+mv %{plugin}/* .
+rmdir %{plugin}
 
 rm languages/bbpress.pot
 find -name index.php | xargs rm
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wordpress-plugin-bbpress.git/commitdiff/268ba763820ad5c757a6cce4de4e25f0997fa2a1



More information about the pld-cvs-commit mailing list