PR#10 Closed Initial test data for compose testing.

Proposed 2 years ago by dmach
Modified 2 years ago
From forks/dmach/pungi initial_tests  into pungi master
file changed

 1 @@ -922,7 +922,6 @@ 

 2                   pprint.pformat(list(sorted(failed)))))

 3               self.logger.info("Couldn't find %i of %i srpms." % (

 4                   len(failed), len(self.src_by_bin)))

 5 -             raise RuntimeError("Could not find all srpms.")

 6   

 7       def add_srpms(self, po_list=None):

 8           """Cycle through the list of package objects and

 9 @@ -932,11 +931,14 @@

10           srpms = set()

11           po_list = po_list or self.po_list

12           for po in sorted(po_list):

13 -             srpm_po = self.sourcerpm_srpmpo_map[po.sourcerpm]

14 -             if srpm_po in self.completed_add_srpms:

15 +             try:

16 +                 srpm_po = self.sourcerpm_srpmpo_map[po.sourcerpm]

17 +             except KeyError:

18 +                 self.logger.error("Cannot get source RPM '%s' for %s" % (po.sourcerpm, po.nvra))

19 +                 srpm_po = None

20 + 

21 +             if srpm_po is None:

22                   continue

23 -             msg = "Added source package %s.%s (repo: %s)" % (srpm_po.name, srpm_po.arch, srpm_po.repoid)

24 -             self.add_source(srpm_po, msg)

25   

26               # flags

27               if po in self.input_packages:

28 @@ -948,6 +950,12 @@

29               if po in self.multilib_packages:

30                   self.multilib_packages.add(srpm_po)

31   

32 +             if srpm_po in self.completed_add_srpms:

33 +                 continue

34 + 

35 +             msg = "Added source package %s.%s (repo: %s)" % (srpm_po.name, srpm_po.arch, srpm_po.repoid)

36 +             self.add_source(srpm_po, msg)

37 + 

38               self.completed_add_srpms.add(srpm_po)

39               srpms.add(srpm_po)

40           return srpms
file added

  1 @@ -0,0 +1,162 @@ 

  2 + <?xml version="1.0" encoding="UTF-8"?>

  3 + <!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd">

  4 + <comps>

  5 + 

  6 +   <!-- GROUPS -->

  7 + 

  8 +   <group>

  9 +     <id>core</id>

 10 +     <name>Core</name>

 11 +     <description>Smallest possible installation</description>

 12 +     <default>true</default>

 13 +     <uservisible>false</uservisible>

 14 +     <packagelist>

 15 +       <packagereq type="mandatory">dummy-bash</packagereq>

 16 +     </packagelist>

 17 +   </group>

 18 + 

 19 +   <group>

 20 +     <id>standard</id>

 21 +     <name>Standard</name>

 22 +     <description>Common set of utilities that extend the minimal installation.</description>

 23 +     <default>false</default>

 24 +     <uservisible>true</uservisible>

 25 +     <packagelist>

 26 +       <packagereq>dummy-lvm2</packagereq>

 27 +     </packagelist>

 28 +   </group>

 29 + 

 30 +   <group>

 31 +     <id>text-internet</id>

 32 +     <name>Text-based Internet</name>

 33 +     <description>This group includes text-based email, Web, and chat clients.  These applications do not require the X Window System.</description>

 34 +     <default>false</default>

 35 +     <uservisible>true</uservisible>

 36 +     <packagelist>

 37 +       <packagereq type="optional">dummy-elinks</packagereq>

 38 +       <packagereq type="optional">dummy-tftp</packagereq>

 39 +     </packagelist>

 40 +   </group>

 41 + 

 42 +   <group>

 43 +     <id>firefox</id>

 44 +     <name>Firefox Web Browser</name>

 45 +     <description>The Firefox web browser</description>

 46 +     <default>false</default>

 47 +     <uservisible>false</uservisible>

 48 +     <packagelist>

 49 +       <packagereq>dummy-firefox</packagereq>

 50 +       <packagereq>dummy-icedtea-web</packagereq>

 51 +     </packagelist>

 52 +   </group>

 53 + 

 54 +   <group arch="i386 x86_64">

 55 +     <id>skype</id>

 56 +     <name>Skype</name>

 57 +     <description>Free internet telephony</description>

 58 +     <default>false</default>

 59 +     <uservisible>true</uservisible>

 60 +     <packagelist>

 61 +       <packagereq>dummy-skype</packagereq>

 62 +     </packagelist>

 63 +   </group>

 64 + 

 65 +   <group arch="x86_64">

 66 +     <id>resilient-storage</id>

 67 +     <name>Resilient Storage</name>

 68 +     <description>Clustered storage, including the GFS2 filesystem.</description>

 69 +     <default>false</default>

 70 +     <uservisible>true</uservisible>

 71 +     <packagelist>

 72 +       <packagereq type="mandatory">dummy-gfs2-utils</packagereq>

 73 +       <packagereq type="mandatory">dummy-lvm2-cluster</packagereq>

 74 +       <packagereq type="mandatory">dummy-pacemaker</packagereq>

 75 +       <packagereq type="mandatory">dummy-resource-agents</packagereq>

 76 +     </packagelist>

 77 +   </group>

 78 + 

 79 +   <group>

 80 +     <id>gluster</id>

 81 +     <name>Gluster</name>

 82 +     <description>GlusterFS support packages</description>

 83 +     <default>false</default>

 84 +     <uservisible>true</uservisible>

 85 +     <packagelist>

 86 +       <packagereq type="mandatory">dummy-glusterfs-resource-agents</packagereq>

 87 +     </packagelist>

 88 +   </group>

 89 + 

 90 +   <group>

 91 +     <id>basic-desktop</id>

 92 +     <name>Desktop</name>

 93 +     <default>true</default>

 94 +     <uservisible>true</uservisible>

 95 +     <packagelist>

 96 +       <packagereq type="conditional" requires="dummy-imsettings">dummy-imsettings-gnome</packagereq>

 97 +     </packagelist>

 98 +   </group>

 99 + 

100 +   <!-- ENVIRONMENTS -->

101 + 

102 +   <environment>

103 +     <id>minimal</id>

104 +     <name>Minimal install</name>

105 +     <description>Basic functionality.</description>

106 +     <display_order>99</display_order>

107 +     <grouplist>

108 +       <groupid>core</groupid>

109 +     </grouplist>

110 +     <optionlist>

111 +     </optionlist>

112 +   </environment>

113 + 

114 +   <environment>

115 +     <id>desktop</id>

116 +     <name>Desktop</name>

117 +     <description>Desktop.</description>

118 +     <display_order>10</display_order>

119 +     <grouplist>

120 +       <groupid>core</groupid>

121 +       <groupid>standard</groupid>

122 +       <groupid>basic-desktop</groupid>

123 +     </grouplist>

124 +     <optionlist>

125 +     </optionlist>

126 +   </environment>

127 + 

128 +   <environment>

129 +     <id>empty</id>

130 +     <name>Empty</name>

131 +     <description>Should not appear in the repos.</description>

132 +     <display_order>10</display_order>

133 +     <grouplist>

134 +       <groupid>does-not-exist</groupid>

135 +     </grouplist>

136 +   </environment>

137 + 

138 +   <!-- LANGPACKS -->

139 + 

140 +   <langpacks>

141 +     <match install="LabPlot-doc-%s" name="LabPlot-doc"/>

142 +     <match install="aspell-%s" name="aspell"/>

143 +     <match install="autocorr-%s" name="autocorr-en"/>

144 +     <match install="calligra-l10n-%s" name="calligra-core"/>

145 +     <match install="childsplay-alphabet_sounds_%s" name="childsplay"/>

146 +     <match install="eclipse-nls-%s" name="eclipse-platform"/>

147 +     <match install="firefox-langpack-%s" name="firefox"/>

148 +     <match install="gcompris-sound-%s" name="gcompris"/>

149 +     <match install="gimp-help-%s" name="gimp-help"/>

150 +     <match install="hunspell-%s" name="hunspell"/>

151 +     <match install="hyphen-%s" name="hyphen"/>

152 +     <match install="kde-l10n-%s" name="kdelibs"/>

153 +     <match install="kde-i18n-%s" name="kdelibs3"/>

154 +     <match install="libreoffice-langpack-%s" name="libreoffice-core"/>

155 +     <match install="man-pages-%s" name="man-pages"/>

156 +     <match install="moodle-%s" name="moodle"/>

157 +     <match install="mythes-%s" name="mythes"/>

158 +     <match install="nqc-doc-%s" name="nqc-doc"/>

159 +     <match install="openoffice.org-langpack-%s" name="openoffice.org-core"/>

160 +     <match install="tesseract-langpack-%s" name="tesseract"/>

161 +     <match install="tkgate-%s" name="tkgate"/>

162 +   </langpacks>

163 + </comps>
file added

  1 @@ -0,0 +1,139 @@ 

  2 + # PRODUCT (RELEASE) INFO

  3 + product_name = "Dummy Product"

  4 + product_short = "DP"

  5 + product_version = "1.0"

  6 + product_is_layered = False

  7 + product_type = "ga"

  8 + 

  9 + 

 10 + # GENERAL SETTINGS

 11 + bootable = False

 12 + comps_file = "dummy-comps.xml"

 13 + variants_file = "dummy-variants.xml"

 14 + sigkeys = [None] # None = unsigned

 15 + 

 16 + # limit tree architectures

 17 + # if undefined, all architectures from variants.xml will be included

 18 + atree_arches = ["x86_64"]

 19 + 

 20 + # limit tree variants

 21 + # if undefined, all variants from variants.xml will be included

 22 + #tree_variants = ["Server"]

 23 + 

 24 + multilib_arches = ["ppc64", "x86_64", "s390x"]

 25 + multilib_methods = ["devel", "runtime"] # devel (recommended), all, base, file, kernel, none, runtime

 26 + 

 27 + 

 28 + # RUNROOT settings

 29 + runroot = False

 30 + #runroot_channel = ""

 31 + #runroot_tag = ""

 32 + 

 33 + 

 34 + # PKGSET

 35 + pkgset_source = "repos" # koji, repos

 36 + 

 37 + # PKGSET - REPOS

 38 + # pkgset_repos format: {arch: [repo1_url, repo2_url, ...]}

 39 + pkgset_repos = {

 40 +     "i386": [

 41 +         "repo",

 42 +     ],

 43 +     "x86_64": [

 44 +         "repo",

 45 +     ],

 46 +     "s390x": [

 47 +         "repo",

 48 +     ],

 49 + }

 50 + 

 51 + # PKGSET - KOJI

 52 + #pkgset_koji_path_prefix = "/mnt/koji"

 53 + #pkgset_koji_url = ""

 54 + #pkgset_koji_tag = ""

 55 + 

 56 + 

 57 + # GATHER

 58 + gather_source = "comps"

 59 + gather_method = "deps"

 60 + check_deps = False

 61 + greedy_method = "build"

 62 + 

 63 + # fomat: [(variant_uid_regex, {arch|*: [repos]})]

 64 + # gather_lookaside_repos = []

 65 + 

 66 + # GATHER - JSON

 67 + # format: {variant_uid: {arch: package: [arch1, arch2, None (for any arch)]}}

 68 + #gather_source_mapping = "/path/to/mapping.json"

 69 + 

 70 + 

 71 + # CREATEREPO

 72 + # TODO: checksum type - mandatory

 73 + createrepo_c = True

 74 + 

 75 + 

 76 + # BUILDINSTALL

 77 + 

 78 + 

 79 + # PRODUCTIMG

 80 + 

 81 + 

 82 + # CREATEISO

 83 + create_optional_isos = False

 84 + symlink_isos_to = None

 85 + 

 86 + 

 87 + # fomat: [(variant_uid_regex, {arch|*: [packages]})]

 88 + additional_packages = [

 89 +     ('^Server$', {

 90 +         '*': [

 91 + #            'dummy-lvm2-devel',

 92 +              'dummy-libtool',

 93 +         ],

 94 +     }),

 95 +     ('^Client-optional$', {

 96 +         '*': [

 97 +             'dummy-httpd',

 98 +         ],

 99 +     }),

100 + ]

101 + 

102 + filter_packages = [

103 +     ('^.*$', {

104 +         '*': [

105 +             'dummy-pacemaker',

106 +         ],

107 +     }),

108 +     ('^Client$', {

109 +         '*': [

110 +             'dummy-httpd',

111 +         ],

112 +     }),

113 +     ('^Server-optional$', {

114 +         '*': [

115 +             'dummy-httpd.i686',

116 +         ],

117 +     }),

118 +     ('^.*-ResilientStorage$', {

119 +         '*': [

120 +             'dummy-glusterfs-resource-agents',

121 +         ],

122 +     }),

123 + ]

124 + 

125 + 

126 + # format: {arch|*: [packages]}

127 + multilib_blacklist = {

128 +     "*": [

129 +         "kernel-devel",

130 +         "httpd-devel",

131 +         "*",

132 + #        "dummy-glibc",

133 +     ],

134 + }

135 + 

136 + multilib_whitelist = {

137 +     "*": [

138 +         "dummy-glibc",

139 +     ],

140 + }

 1 @@ -0,0 +1,70 @@ 

 2 + <?xml version="1.0" encoding="UTF-8"?>

 3 + <!DOCTYPE variants PUBLIC "-//Red Hat, Inc.//DTD Variants info//EN" "variants.dtd">

 4 + 

 5 + <variants>

 6 +   <variant id="ResilientStorage" name="Resilient Storage" type="addon">

 7 +     <arches>

 8 +       <arch>x86_64</arch>

 9 +     </arches>

10 +     <groups>

11 +       <group default="true">resilient-storage</group>

12 +     </groups>

13 +   </variant>

14 + 

15 +   <variant id="Gluster" name="Gluster Layered Product" type="layered-product">

16 +     <product name="Gluster" version="2.3" short="Gluster" />

17 +     <arches>

18 +       <arch>x86_64</arch>

19 +     </arches>

20 +     <groups>

21 +       <group default="true">gluster</group>

22 +     </groups>

23 +   </variant>

24 + 

25 +   <variant id="Client" name="Client" type="variant" has_optional="true">

26 +     <arches>

27 +       <arch>i386</arch>

28 +       <arch>x86_64</arch>

29 +     </arches>

30 +     <groups>

31 +       <group default="true">core</group>

32 +       <group default="true">standard</group>

33 +       <group default="false">text-internet</group>

34 +       <group default="true" uservisible="false">firefox</group>

35 +       <group>skype</group>

36 +     </groups>

37 +     <environments>

38 +       <environment>minimal</environment>

39 +       <environment display_order="1000">desktop</environment>

40 +     </environments>

41 +   </variant>

42 + 

43 +   <variant id="Server" name="Server" type="variant" has_optional="true">

44 +     <arches>

45 +       <arch>x86_64</arch>

46 +       <arch>s390x</arch>

47 +     </arches>

48 +     <groups>

49 +       <group default="true" uservisible="true">core</group>

50 +       <group default="true">standard</group>

51 +       <group default="true">text-internet</group>

52 +     </groups>

53 +     <environments>

54 +       <environment>minimal</environment>

55 +     </environments>

56 +     <variants>

57 +       <ref id="ResilientStorage"/>

58 +       <ref id="Gluster"/>

59 +       <variant id="optional" name="optional" type="optional">

60 +         <arches>

61 +           <arch>x86_64</arch>

62 +           <arch>s390x</arch>

63 +         </arches>

64 +         <groups>

65 +           <group default="false">firefox</group>

66 +         </groups>

67 +       </variant>

68 +     </variants>

69 +   </variant>

70 + 

71 + </variants>

 1 @@ -0,0 +1,55 @@ 

 2 + <?xml version="1.0" encoding="UTF-8"?>

 3 + <repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm">

 4 +   <revision>1433703782</revision>

 5 +   <data type="primary">

 6 +     <checksum type="sha256">3ee1c3fafb9178ef21bd71ed7e5294100b3a6fbe9b81609ab99d4ecc783375b0</checksum>

 7 +     <open-checksum type="sha256">218e3655cab97285c5a225dff14eef438b408f4e06e5943646ce56d222d1ce13</open-checksum>

 8 +     <location href="repodata/3ee1c3fafb9178ef21bd71ed7e5294100b3a6fbe9b81609ab99d4ecc783375b0-primary.xml.gz"/>

 9 +     <timestamp>1433703782</timestamp>

10 +     <size>2807</size>

11 +     <open-size>34430</open-size>

12 +   </data>

13 +   <data type="filelists">

14 +     <checksum type="sha256">f5ad16adc2c0563296d800b5d39a40b25d8d9140baff7f3f3da2f78d2cc1ea4e</checksum>

15 +     <open-checksum type="sha256">d6a3f06b473cf9516a2397afbdeda067c9b2dd42e7f2f62ffafc88cb56fa2852</open-checksum>

16 +     <location href="repodata/f5ad16adc2c0563296d800b5d39a40b25d8d9140baff7f3f3da2f78d2cc1ea4e-filelists.xml.gz"/>

17 +     <timestamp>1433703782</timestamp>

18 +     <size>1637</size>

19 +     <open-size>5515</open-size>

20 +   </data>

21 +   <data type="other">

22 +     <checksum type="sha256">6dc9204acd47b7416fbc49af6ee2076f93dbde635d1183024a568e8572b283d3</checksum>

23 +     <open-checksum type="sha256">b159c0f978c1de00d4862080689d1e96705dd05868512ba0193e257edc267046</open-checksum>

24 +     <location href="repodata/6dc9204acd47b7416fbc49af6ee2076f93dbde635d1183024a568e8572b283d3-other.xml.gz"/>

25 +     <timestamp>1433703782</timestamp>

26 +     <size>1716</size>

27 +     <open-size>9014</open-size>

28 +   </data>

29 +   <data type="primary_db">

30 +     <checksum type="sha256">235e7a604cf1b16c29914586a8f04a56ea893d8b47ed959c6f3f2adc3b5964a6</checksum>

31 +     <open-checksum type="sha256">2555ad6ea5276aa69c9b7024afc4807b3f5f35d82196c564b0f38edf6b171038</open-checksum>

32 +     <location href="repodata/235e7a604cf1b16c29914586a8f04a56ea893d8b47ed959c6f3f2adc3b5964a6-primary.sqlite.bz2"/>

33 +     <timestamp>1433703782</timestamp>

34 +     <size>6289</size>

35 +     <open-size>50176</open-size>

36 +     <database_version>10</database_version>

37 +   </data>

38 +   <data type="filelists_db">

39 +     <checksum type="sha256">bc8b8f4456854e72d2ba482d0e6741808c7a424bb916b795fef9453beaa60673</checksum>

40 +     <open-checksum type="sha256">5b629fb3de56f339591529ddccef2c1227de031943f0faf924f85f7e53390dcb</open-checksum>

41 +     <location href="repodata/bc8b8f4456854e72d2ba482d0e6741808c7a424bb916b795fef9453beaa60673-filelists.sqlite.bz2"/>

42 +     <timestamp>1433703782</timestamp>

43 +     <size>2600</size>

44 +     <open-size>13312</open-size>

45 +     <database_version>10</database_version>

46 +   </data>

47 +   <data type="other_db">

48 +     <checksum type="sha256">b309bb1a898ee99a7f53b0302605494b2eb7cb1f234794bdd692846774c5bff5</checksum>

49 +     <open-checksum type="sha256">dcabf3acc87ab3459c1d2f6e0d64e7ed797bb6d95365c4346f9428c188be49a5</open-checksum>

50 +     <location href="repodata/b309bb1a898ee99a7f53b0302605494b2eb7cb1f234794bdd692846774c5bff5-other.sqlite.bz2"/>

51 +     <timestamp>1433703782</timestamp>

52 +     <size>3090</size>

53 +     <open-size>15360</open-size>

54 +     <database_version>10</database_version>

55 +   </data>

56 + </repomd>
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added

  1 @@ -0,0 +1,162 @@ 

  2 + <?xml version="1.0" encoding="UTF-8"?>

  3 + <!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd">

  4 + <comps>

  5 + 

  6 +   <!-- GROUPS -->

  7 + 

  8 +   <group>

  9 +     <id>core</id>

 10 +     <name>Core</name>

 11 +     <description>Smallest possible installation</description>

 12 +     <default>true</default>

 13 +     <uservisible>false</uservisible>

 14 +     <packagelist>

 15 +       <packagereq type="mandatory">dummy-bash</packagereq>

 16 +     </packagelist>

 17 +   </group>

 18 + 

 19 +   <group>

 20 +     <id>standard</id>

 21 +     <name>Standard</name>

 22 +     <description>Common set of utilities that extend the minimal installation.</description>

 23 +     <default>false</default>

 24 +     <uservisible>true</uservisible>

 25 +     <packagelist>

 26 +       <packagereq>dummy-lvm2</packagereq>

 27 +     </packagelist>

 28 +   </group>

 29 + 

 30 +   <group>

 31 +     <id>text-internet</id>

 32 +     <name>Text-based Internet</name>

 33 +     <description>This group includes text-based email, Web, and chat clients.  These applications do not require the X Window System.</description>

 34 +     <default>false</default>

 35 +     <uservisible>true</uservisible>

 36 +     <packagelist>

 37 +       <packagereq type="optional">dummy-elinks</packagereq>

 38 +       <packagereq type="optional">dummy-tftp</packagereq>

 39 +     </packagelist>

 40 +   </group>

 41 + 

 42 +   <group>

 43 +     <id>firefox</id>

 44 +     <name>Firefox Web Browser</name>

 45 +     <description>The Firefox web browser</description>

 46 +     <default>false</default>

 47 +     <uservisible>false</uservisible>

 48 +     <packagelist>

 49 +       <packagereq>dummy-firefox</packagereq>

 50 +       <packagereq>dummy-icedtea-web</packagereq>

 51 +     </packagelist>

 52 +   </group>

 53 + 

 54 +   <group arch="i386 x86_64">

 55 +     <id>skype</id>

 56 +     <name>Skype</name>

 57 +     <description>Free internet telephony</description>

 58 +     <default>false</default>

 59 +     <uservisible>true</uservisible>

 60 +     <packagelist>

 61 +       <packagereq>dummy-skype</packagereq>

 62 +     </packagelist>

 63 +   </group>

 64 + 

 65 +   <group arch="x86_64">

 66 +     <id>resilient-storage</id>

 67 +     <name>Resilient Storage</name>

 68 +     <description>Clustered storage, including the GFS2 filesystem.</description>

 69 +     <default>false</default>

 70 +     <uservisible>true</uservisible>

 71 +     <packagelist>

 72 +       <packagereq type="mandatory">dummy-gfs2-utils</packagereq>

 73 +       <packagereq type="mandatory">dummy-lvm2-cluster</packagereq>

 74 +       <packagereq type="mandatory">dummy-pacemaker</packagereq>

 75 +       <packagereq type="mandatory">dummy-resource-agents</packagereq>

 76 +     </packagelist>

 77 +   </group>

 78 + 

 79 +   <group>

 80 +     <id>gluster</id>

 81 +     <name>Gluster</name>

 82 +     <description>GlusterFS support packages</description>

 83 +     <default>false</default>

 84 +     <uservisible>true</uservisible>

 85 +     <packagelist>

 86 +       <packagereq type="mandatory">dummy-glusterfs-resource-agents</packagereq>

 87 +     </packagelist>

 88 +   </group>

 89 + 

 90 +   <group>

 91 +     <id>basic-desktop</id>

 92 +     <name>Desktop</name>

 93 +     <default>true</default>

 94 +     <uservisible>true</uservisible>

 95 +     <packagelist>

 96 +       <packagereq type="conditional" requires="dummy-imsettings">dummy-imsettings-gnome</packagereq>

 97 +     </packagelist>

 98 +   </group>

 99 + 

100 +   <!-- ENVIRONMENTS -->

101 + 

102 +   <environment>

103 +     <id>minimal</id>

104 +     <name>Minimal install</name>

105 +     <description>Basic functionality.</description>

106 +     <display_order>99</display_order>

107 +     <grouplist>

108 +       <groupid>core</groupid>

109 +     </grouplist>

110 +     <optionlist>

111 +     </optionlist>

112 +   </environment>

113 + 

114 +   <environment>

115 +     <id>desktop</id>

116 +     <name>Desktop</name>

117 +     <description>Desktop.</description>

118 +     <display_order>10</display_order>

119 +     <grouplist>

120 +       <groupid>core</groupid>

121 +       <groupid>standard</groupid>

122 +       <groupid>basic-desktop</groupid>

123 +     </grouplist>

124 +     <optionlist>

125 +     </optionlist>

126 +   </environment>

127 + 

128 +   <environment>

129 +     <id>empty</id>

130 +     <name>Empty</name>

131 +     <description>Should not appear in the repos.</description>

132 +     <display_order>10</display_order>

133 +     <grouplist>

134 +       <groupid>does-not-exist</groupid>

135 +     </grouplist>

136 +   </environment>

137 + 

138 +   <!-- LANGPACKS -->

139 + 

140 +   <langpacks>

141 +     <match install="LabPlot-doc-%s" name="LabPlot-doc"/>

142 +     <match install="aspell-%s" name="aspell"/>

143 +     <match install="autocorr-%s" name="autocorr-en"/>

144 +     <match install="calligra-l10n-%s" name="calligra-core"/>

145 +     <match install="childsplay-alphabet_sounds_%s" name="childsplay"/>

146 +     <match install="eclipse-nls-%s" name="eclipse-platform"/>

147 +     <match install="firefox-langpack-%s" name="firefox"/>

148 +     <match install="gcompris-sound-%s" name="gcompris"/>

149 +     <match install="gimp-help-%s" name="gimp-help"/>

150 +     <match install="hunspell-%s" name="hunspell"/>

151 +     <match install="hyphen-%s" name="hyphen"/>

152 +     <match install="kde-l10n-%s" name="kdelibs"/>

153 +     <match install="kde-i18n-%s" name="kdelibs3"/>

154 +     <match install="libreoffice-langpack-%s" name="libreoffice-core"/>

155 +     <match install="man-pages-%s" name="man-pages"/>

156 +     <match install="moodle-%s" name="moodle"/>

157 +     <match install="mythes-%s" name="mythes"/>

158 +     <match install="nqc-doc-%s" name="nqc-doc"/>

159 +     <match install="openoffice.org-langpack-%s" name="openoffice.org-core"/>

160 +     <match install="tesseract-langpack-%s" name="tesseract"/>

161 +     <match install="tkgate-%s" name="tkgate"/>

162 +   </langpacks>

163 + </comps>

 1 @@ -0,0 +1,69 @@ 

 2 + <?xml version="1.0" encoding="UTF-8"?>

 3 + <repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm">

 4 +   <revision>1433703782</revision>

 5 +   <data type="primary">

 6 +     <checksum type="sha256">4ebe97695ad46ce149952ea06063b2d5b7fd93d18d7268db98ae8024bb69f31c</checksum>

 7 +     <open-checksum type="sha256">cb7dba389c871a42342a8a973e59d8fd6665a23d53ad6f7468fe48093c8112fc</open-checksum>

 8 +     <location href="repodata/4ebe97695ad46ce149952ea06063b2d5b7fd93d18d7268db98ae8024bb69f31c-primary.xml.gz"/>

 9 +     <timestamp>1433703782</timestamp>

10 +     <size>32328</size>

11 +     <open-size>451118</open-size>

12 +   </data>

13 +   <data type="filelists">

14 +     <checksum type="sha256">acf12a179c5f98b08e85279e8dc5cd700c44718669c0f90a9c479421b2302574</checksum>

15 +     <open-checksum type="sha256">5c8a86a55d688343e51edff5be854e573552860176af6aef1416dfcbf18558ab</open-checksum>

16 +     <location href="repodata/acf12a179c5f98b08e85279e8dc5cd700c44718669c0f90a9c479421b2302574-filelists.xml.gz"/>

17 +     <timestamp>1433703782</timestamp>

18 +     <size>19804</size>

19 +     <open-size>73844</open-size>

20 +   </data>

21 +   <data type="other">

22 +     <checksum type="sha256">03a1b0cee5e73aac25991ef1a53874769398b4e26429bf29d678d68d81e97f85</checksum>

23 +     <open-checksum type="sha256">695cb75c325f50f46cfa693243c4210758402c80792926cddfe42dee74907783</open-checksum>

24 +     <location href="repodata/03a1b0cee5e73aac25991ef1a53874769398b4e26429bf29d678d68d81e97f85-other.xml.gz"/>

25 +     <timestamp>1433703782</timestamp>

26 +     <size>19807</size>

27 +     <open-size>117697</open-size>

28 +   </data>

29 +   <data type="primary_db">

30 +     <checksum type="sha256">b0540346bfe61954819adc7b9ac1e7f8beb39d8b9b9fd4f3abbe1740126dcb80</checksum>

31 +     <open-checksum type="sha256">48e9a7de5a855968fc31c34e7f28ef7f0f22d05ea467d089c102af8d36323405</open-checksum>

32 +     <location href="repodata/b0540346bfe61954819adc7b9ac1e7f8beb39d8b9b9fd4f3abbe1740126dcb80-primary.sqlite.bz2"/>

33 +     <timestamp>1433703782</timestamp>

34 +     <size>57080</size>

35 +     <open-size>315392</open-size>

36 +     <database_version>10</database_version>

37 +   </data>

38 +   <data type="filelists_db">

39 +     <checksum type="sha256">0ed1b1a6780930b0ccb1326e7b8c94dc3c23c6cb8fbca7760f247a1fc337d1d3</checksum>

40 +     <open-checksum type="sha256">4b5d6048e9e5069dc72d0295aec0644c1ddfb86ff92570ee99288d9e54aa526d</open-checksum>

41 +     <location href="repodata/0ed1b1a6780930b0ccb1326e7b8c94dc3c23c6cb8fbca7760f247a1fc337d1d3-filelists.sqlite.bz2"/>

42 +     <timestamp>1433703782</timestamp>

43 +     <size>25236</size>

44 +     <open-size>73728</open-size>

45 +     <database_version>10</database_version>

46 +   </data>

47 +   <data type="other_db">

48 +     <checksum type="sha256">1d6b449f32acbe47d453142a2f63869a56977f92b9274b18e990fc2dea4aaae2</checksum>

49 +     <open-checksum type="sha256">967d7b3a37480a575aeb4a52194f6e3c9fecb35f546881dd106d8232f58c4702</open-checksum>

50 +     <location href="repodata/1d6b449f32acbe47d453142a2f63869a56977f92b9274b18e990fc2dea4aaae2-other.sqlite.bz2"/>

51 +     <timestamp>1433703782</timestamp>

52 +     <size>28785</size>

53 +     <open-size>104448</open-size>

54 +     <database_version>10</database_version>

55 +   </data>

56 +   <data type="group">

57 +     <checksum type="sha256">3cfd22f296e11c420e1ff9be32301a99640e1bc892d3d87f088117fc86aa0a3e</checksum>

58 +     <location href="repodata/3cfd22f296e11c420e1ff9be32301a99640e1bc892d3d87f088117fc86aa0a3e-dummy-comps.xml"/>

59 +     <timestamp>1433703782</timestamp>

60 +     <size>5050</size>

61 +   </data>

62 +   <data type="group_gz">

63 +     <checksum type="sha256">553f3beb9ed9d76030a9aa2f12966524ee5382075532f40a2ab8786d9405315f</checksum>

64 +     <open-checksum type="sha256">3cfd22f296e11c420e1ff9be32301a99640e1bc892d3d87f088117fc86aa0a3e</open-checksum>

65 +     <location href="repodata/553f3beb9ed9d76030a9aa2f12966524ee5382075532f40a2ab8786d9405315f-dummy-comps.xml.gz"/>

66 +     <timestamp>1433703782</timestamp>

67 +     <size>1224</size>

68 +     <open-size>5050</open-size>

69 +   </data>

70 + </repomd>
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added
empty file added

 1 @@ -0,0 +1,64 @@ 

 2 + #!/bin/sh

 3 + 

 4 + # run this script to (re-)generate ../repo and ../repo-krb5-lookaside directories

 5 + 

 6 + # requirements:

 7 + #  * rpmbuild

 8 + #  * createrepo_c

 9 + 

10 + 

11 + set -e

12 + 

13 + 

14 + rm -rfv ../repo

15 + rm -rfv ../repo-krb5-lookaside

16 + 

17 + 

18 + for spec in *.spec; do

19 +     echo "Building $spec..."

20 +     for target in i686 x86_64 ppc ppc64 s390 s390x; do

21 +         if [ "$spec" == "dummy-foo32.spec" ]; then

22 +             if [ "$target" == "x86_64" -o "$target" == "ppc64" -o "$target" == "s390x" ]; then

23 +                 continue

24 +             fi

25 +         fi

26 +         if [ "$spec" == "dummy-glibc-2.14-4.spec" ]; then

27 +             if [ "$target" == "i686" -o "$target" == "ppc" -o "$target" == "s390" ]; then

28 +                 continue

29 +             fi

30 +         fi

31 +         if [ "$spec" == "dummy-AdobeReader_enu.spec" ]; then

32 +             continue

33 +         fi

34 +         if [ "$spec" == "dummy-skype.spec" ]; then

35 +             continue

36 +         fi

37 +         echo "Building ${spec/.spec/} for $target"

38 +         rpmbuild --target=$target -ba --nodeps --define '_srcrpmdir ../repo/src' --define '_rpmdir ../repo' $spec

39 +     done

40 + done

41 + 

42 + 

43 + # AdobeReader_enu is nosrc for i486 -> handle this special case separately

44 + spec="dummy-AdobeReader_enu.spec"

45 + target="i486"

46 + echo "Building ${spec/.spec/} for $target"

47 + rpmbuild --target=$target -ba --nodeps --define '_srcrpmdir ../repo/src' --define '_rpmdir ../repo' --define "_sourcedir ." $spec

48 + 

49 + 

50 + # Skype is for i586 -> handle this special case separately

51 + # build only binaries

52 + spec="dummy-skype.spec"

53 + target="i586"

54 + echo "Building ${spec/.spec/} for $target"

55 + rpmbuild --target=$target -bb --nodeps --define '_srcrpmdir ../repo/src' --define '_rpmdir ../repo' --define "_sourcedir ." $spec

56 + 

57 + 

58 + # create main repo

59 + createrepo_c --update --groupfile $(pwd)/../dummy-comps.xml ../repo

60 + 

61 + 

62 + # create lookaside repo for krb5

63 + mkdir -p ../repo-krb5-lookaside

64 + cp $(find ../repo/ -type f -name '*krb5*.rpm') ../repo-krb5-lookaside

65 + createrepo_c --update ../repo-krb5-lookaside

 1 @@ -0,0 +1,37 @@ 

 2 + Name:           dummy-AdobeReader_enu

 3 + Version:        9.5.1

 4 + Release:        1

 5 + License:        LGPLv2

 6 + Summary:        A dummy AdobeReader_enu package

 7 + Requires:       dummy-glibc

 8 + Source0:        %{name}-%{version}.tar.gz

 9 + NoSource:       0

10 + ExclusiveArch:  i486

11 + 

12 + %description

13 + A dummy AdobeReader_enu package

14 + 

15 + 

16 + #%prep

17 + #%setup -q

18 + 

19 + 

20 + %build

21 + echo OK

22 + 

23 + 

24 + %install

25 + rm -rf $RPM_BUILD_ROOT

26 + mkdir $RPM_BUILD_ROOT

27 + 

28 + 

29 + %clean

30 + rm -rf $RPM_BUILD_ROOT

31 + 

32 + 

33 + %files

34 + 

35 + 

36 + %changelog

37 + * Tue Oct 18 2011 Daniel Mach <dmach@redhat.com> - 9.5.1-1

38 + - First release

  1 @@ -0,0 +1,187 @@ 

  2 + Name:           dummy-atlas

  3 + Version:        3.8.4

  4 + Release:        7

  5 + License:        LGPLv2

  6 + Summary:        A dummy atlas package

  7 + 

  8 + %description

  9 + A dummy atlas package

 10 + 

 11 + %package devel

 12 + Summary:        A dummy atlas-devel package

 13 + Requires:       %{name} = %{version}-%{release}

 14 + 

 15 + %description devel

 16 + A dummy atlas-devel package

 17 + 

 18 + 

 19 + # ----------

 20 + 

 21 + 

 22 + %ifarch x86_64

 23 + 

 24 + %package sse3

 25 + Summary:        A dummy atlas-sse3 package

 26 + Provides:       %{name} = %{version}-%{release}

 27 + 

 28 + %description sse3

 29 + A dummy atlas-sse3 package

 30 + 

 31 + %package sse3-devel

 32 + Summary:        A dummy atlas-sse3-devel package

 33 + Requires:       %{name}-sse3 = %{version}-%{release}

 34 + 

 35 + %description sse3-devel

 36 + A dummy atlas-sse3-devel package

 37 + 

 38 + %endif

 39 + 

 40 + 

 41 + # ----------

 42 + 

 43 + 

 44 + %ifarch %{ix86}

 45 + 

 46 + %package 3dnow

 47 + Summary:        A dummy atlas-3dnow package

 48 + Provides:       %{name} = %{version}-%{release}

 49 + 

 50 + %description 3dnow

 51 + A dummy atlas-3dnow package

 52 + 

 53 + %package 3dnow-devel

 54 + Summary:        A dummy atlas-3dnow-devel package

 55 + Requires:       %{name}-3dnow = %{version}-%{release}

 56 + 

 57 + %description 3dnow-devel

 58 + A dummy atlas-3dnow-devel package

 59 + 

 60 + %package sse

 61 + Summary:        A dummy atlas-sse package

 62 + Provides:       %{name} = %{version}-%{release}

 63 + 

 64 + %description sse

 65 + A dummy atlas-sse package

 66 + 

 67 + %package sse-devel

 68 + Summary:        A dummy atlas-sse-devel package

 69 + Requires:       %{name}-sse = %{version}-%{release}

 70 + 

 71 + %description sse-devel

 72 + A dummy atlas-sse-devel package

 73 + 

 74 + %package sse2

 75 + Summary:        A dummy atlas-sse2 package

 76 + Provides:       %{name} = %{version}-%{release}

 77 + 

 78 + %description sse2

 79 + A dummy atlas-sse2 package

 80 + 

 81 + %package sse2-devel

 82 + Summary:        A dummy atlas-sse2-devel package

 83 + Requires:       %{name}-sse2 = %{version}-%{release}

 84 + 

 85 + %description sse2-devel

 86 + A dummy atlas-sse2-devel package

 87 + 

 88 + %package sse3

 89 + Summary:        A dummy atlas-sse3 package

 90 + Provides:       %{name} = %{version}-%{release}

 91 + 

 92 + %description sse3

 93 + A dummy atlas-sse3 package

 94 + 

 95 + %package sse3-devel

 96 + Summary:        A dummy atlas-sse3-devel package

 97 + Requires:       %{name}-sse3 = %{version}-%{release}

 98 + 

 99 + %description sse3-devel

100 + A dummy atlas-sse3-devel package

101 + 

102 + %endif

103 + 

104 + 

105 + # ----------

106 + 

107 + 

108 + %ifarch s390 s390x

109 + 

110 + %package z196

111 + Summary:        A dummy atlas-z196 package

112 + Provides:       %{name} = %{version}-%{release}

113 + 

114 + %description z196

115 + A dummy atlas-z196 package

116 + 

117 + %package z196-devel

118 + Summary:        A dummy atlas-z196-devel package

119 + Requires:       %{name}-z196 = %{version}-%{release}

120 + 

121 + %description z196-devel

122 + A dummy atlas-z196-devel package

123 + 

124 + %package z10

125 + Summary:        A dummy atlas-z10 package

126 + Provides:       %{name} = %{version}-%{release}

127 + 

128 + %description z10

129 + A dummy atlas-z10 package

130 + 

131 + %package z10-devel

132 + Summary:        A dummy atlas-z10-devel package

133 + Requires:       %{name}-z10 = %{version}-%{release}

134 + 

135 + %description z10-devel

136 + A dummy atlas-z10-devel package

137 + 

138 + %endif

139 + 

140 + 

141 + 

142 + #%prep

143 + #%setup -q

144 + 

145 + 

146 + %build

147 + echo OK

148 + 

149 + 

150 + %install

151 + rm -rf $RPM_BUILD_ROOT

152 + mkdir $RPM_BUILD_ROOT

153 + 

154 + 

155 + %clean

156 + rm -rf $RPM_BUILD_ROOT

157 + 

158 + 

159 + %files

160 + %files devel

161 + 

162 + %ifarch x86_64

163 + %files sse3

164 + %files sse3-devel

165 + %endif

166 + 

167 + %ifarch %{ix86}

168 + %files 3dnow

169 + %files 3dnow-devel

170 + %files sse

171 + %files sse-devel

172 + %files sse2

173 + %files sse2-devel

174 + %files sse3

175 + %files sse3-devel

176 + %endif

177 + 

178 + %ifarch s390 s390x

179 + %files z196

180 + %files z196-devel

181 + %files z10

182 + %files z10-devel

183 + %endif

184 + 

185 + 

186 + %changelog

187 + * Tue Oct 18 2011 Daniel Mach <dmach@redhat.com> - 3.8.4-7

188 + - First release

 1 @@ -0,0 +1,36 @@ 

 2 + Name:           dummy-basesystem

 3 + Version:        10.0

 4 + Release:        6

 5 + License:        LGPLv2

 6 + Summary:        A dummy basesystem package

 7 + Requires:       dummy-filesystem

 8 + 

 9 + BuildArch:      noarch

10 + 

11 + %description

12 + A dummy basesystem package

13 + 

14 + 

15 + #%prep

16 + #%setup -q

17 + 

18 + 

19 + %build

20 + echo OK

21 + 

22 + 

23 + %install

24 + rm -rf $RPM_BUILD_ROOT

25 + mkdir $RPM_BUILD_ROOT

26 + 

27 + 

28 + %clean

29 + rm -rf $RPM_BUILD_ROOT

30 + 

31 + 

32 + %files

33 + 

34 + 

35 + %changelog

36 + * Tue Oct 18 2011 Daniel Mach <dmach@redhat.com> - 10.0-6

37 + - First release

 1 @@ -0,0 +1,51 @@ 

 2 + Name:           dummy-bash

 3 + Version:        4.2.37

 4 + Release:        5

 5 + License:        LGPLv2

 6 + Summary:        A dummy bash package

 7 + Requires:       dummy-glibc

 8 + 

 9 + %description

10 + A dummy bash package

11 + 

12 + %package debuginfo

13 + Summary:        A dummy bash-debuginfo package

14 + Group:          Development/Debug

15 + 

16 + %description debuginfo

17 + A dummy bash-debuginfo package

18 + 

19 + 

20 + %package doc

21 + Summary:        A dummy bash-doc package

22 + BuildArch:      noarch

23 + 

24 + %description doc

25 + A dummy bash-doc package

26 + 

27 + 

28 + #%prep

29 + #%setup -q

30 + 

31 + 

32 + %build

33 + echo OK

34 + 

35 + 

36 + %install

37 + rm -rf $RPM_BUILD_ROOT

38 + mkdir $RPM_BUILD_ROOT

39 + 

40