[packages/adapter: 488/631] - rpmbuild(macros) virtual enforce

glen glen at pld-linux.org
Mon Sep 12 20:15:21 CEST 2016


commit c432126ca9bb8c08fa8c42bd2b37410446bc9328
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Jul 28 09:54:12 2010 +0000

    - rpmbuild(macros) virtual enforce
    
    Changed files:
        adapter.awk -> 1.458

 adapter.awk | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 4d426c0..e287fd0 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1902,6 +1902,9 @@ function replace_requires() {
 	sub(/^xml-commons-apis$/, "java-xml-commons-apis", $2);
 	sub(/^xml-commons-resolver$/, "java-xml-commons-resolver", $2);
 
+	# use virtual, not package name
+	sub(/^rpm-build-macros$/, "rpmbuild(macros)", $2);
+
 	# fedora / redhat
 	sub(/^Django$/, "python-django", $2);
 	sub(/^chkconfig$/, "/sbin/chkconfig", $2);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list