Changeset 1096


Ignore:
Timestamp:
10/13/10 01:33:14 (3 years ago)
Author:
bruno
Message:
  • Improve support for .ymp files (#65)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1095 r1096  
    13551355# 
    13561356cat > $ENV{'PBPROJ'}.ymp << EOT 
     1357<?xml version="1.0" encoding="utf-8"?> 
     1358<!-- vim: set sw=2 ts=2 ai et: --> 
    13571359<metapackage xmlns:os="http://opensuse.org/Standards/One_Click_Install" xmlns="http://opensuse.org/Standards/One_Click_Install"> 
    13581360    <group><!-- The group of software, typically one for project-builder.org --> 
     
    13771379for p in $basesrc; do 
    13781380    sum=`rpm -q --qf '%{SUMMARY}' \$p` 
     1381    name=`rpm -q --qf '%{NAME}' \$p` 
    13791382    desc=`rpm -q --qf '%{description}' \$p` 
    13801383    cat >> $ENV{'PBPROJ'}.ymp << EOT 
    13811384            <item> 
    1382                 <name>\$p</name><!-- Name of the package, is shown to the user and used to identify the package at the repository --> 
     1385                <name>\$name</name><!-- Name of the package, is shown to the user and used to identify the package at the repository --> 
    13831386                <summary>\$sum</summary> <!-- Summary of the package --> 
    13841387                <description>\$desc</description> <!-- Description, is shown to the user --> 
Note: See TracChangeset for help on using the changeset viewer.