[packages/adapter: 145/631] - remove obsolete rpm-pythonprov / macros.python

glen glen at pld-linux.org
Mon Sep 12 19:46:37 CEST 2016


commit 6c67f9b1b2c0f70fbdc39bf4b7162b846548f85d
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Mar 5 11:30:31 2005 +0000

    - remove obsolete rpm-pythonprov / macros.python
    
    Changed files:
        adapter.awk -> 1.140

 adapter.awk | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index ed5b40b..7a16f5b 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -14,6 +14,8 @@
 # TODO
 # - parse ../PLD-doc/BuildRequires.txt and setup proper BR epoches?
 # - add "-nc" option to skip CVS interaction
+# - sort Summary(XX)
+# - sort Requires, BuildRequires
 
 BEGIN {
 	preamble = 1		# Is it part of preamble? Default - yes
@@ -92,6 +94,11 @@ defattr == 1 {
 		date = 1
 }
 
+# Obsolete
+/^%include.*\/usr\/lib\/rpm\/macros\.python$/ {
+	next
+}
+
 ################
 # %description #
 ################
@@ -489,6 +496,13 @@ preamble == 1 {
 		if ($2 ~ /_infodir/)
 			infodir = $3
 	}
+
+	if (field ~ /buildrequires:/) {
+		# obsolete
+		if ($2 ~ /rpm-pythonprov/) {
+			next
+		}
+	}
 }
 
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list