xfs
[Top] [All Lists]

xfsprogs build for XFS 1.2 on RedHat 7.x problem solved

To: linux-xfs@xxxxxxxxxxx
Subject: xfsprogs build for XFS 1.2 on RedHat 7.x problem solved
From: Seung-yeong Oh <so1713@xxxxxxxxx>
Date: 12 Feb 2003 19:05:07 +0900
Organization:
Sender: linux-xfs-bounce@xxxxxxxxxxx
Hello,
I don't know what happened, but apparently there was a change in the
spec file only for the xfsprogs SRPM.
Reversing the change solved the problem as follows;

# diff -Nur xfsprogs.spec.orig xfsprogs.spec

--- xfsprogs.spec.orig  Tue Feb 11 02:31:11 2003
+++ xfsprogs.spec       Wed Feb 12 18:47:49 2003
@@ -67,15 +67,15 @@
 {
        sort | uniq | awk ' 
 $1 == "d" { printf ("%%%%dir %%%%attr(%s,%s,%s) %s\n", $2, $3, $4, $5);
} 
-$1 == "f" { if (match ($6, "/usr/local/man") || match ($6,
"/usr/local/share/doc/xfsprogs"))
+$1 == "f" { if (match ($6, "/usr/share/man") || match ($6,
"/usr/share/doc/xfsprogs"))
                printf ("%%%%doc ");
-           if (match ($6, "/usr/local/man"))
+           if (match ($6, "/usr/share/man"))
                printf ("%%%%attr(%s,%s,%s) %s*\n", $2, $3, $4, $6);
            else
                printf ("%%%%attr(%s,%s,%s) %s\n", $2, $3, $4, $6); }
-$1 == "l" { if (match ($3, "/usr/local/man") || match ($3,
"/usr/local/share/doc/xfsprogs"))
+$1 == "l" { if (match ($3, "/usr/share/man") || match ($3,
"/usr/share/doc/xfsprogs"))
                printf ("%%%%doc ");
-           if (match ($3, "/usr/local/man"))
+           if (match ($3, "/usr/share/man"))
                printf ("%attr(0777,root,root) %s*\n", $3);
            else
                printf ("%attr(0777,root,root) %s\n", $3); }'

Have a nice day.


<Prev in Thread] Current Thread [Next in Thread>
  • xfsprogs build for XFS 1.2 on RedHat 7.x problem solved, Seung-yeong Oh <=