https://pulp.plan.io/https://pulp.plan.io/favicon.ico2019-06-07T14:15:29ZPulpRPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMhttps://pulp.plan.io/issues/4930?journal_id=444842019-06-07T14:15:29Zbherring
<ul><li><strong>Copied from</strong> <i><a class="issue tracker-1 status-11 priority-6 priority-default closed" href="/issues/4869">Issue #4869</a>: Use RPMTAG_MODULARITYLABEL to determine modular RPM</i> added</li></ul> RPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMhttps://pulp.plan.io/issues/4930?journal_id=444892019-06-07T14:38:15Zbherring
<ul></ul><a name="Additional-Information-about-RPMs-in-fixtures"></a>
<h2 >Additional Information about RPMs in fixtures<a href="#Additional-Information-about-RPMs-in-fixtures" class="wiki-anchor">¶</a></h2>
<p>I have not seen evidence the fixture is actually building modular RPMs as the header information is not present in any source spec files within the fixture (that I have seen yet).</p>
<p>Therefore, I currently believe a change/addition is needed to build modular RPMs for the test.</p>
<pre><code>10:25 <ttereshc> I asked on #fedora-modularity on a freenode [15:42:44] <ttereshc> I need a dummy
package with modularitylabel header set (just not being empty). Any hints/recipes
how to build such package?
10:25 <ttereshc> [15:53:33] <ignatenkobrain> ttereshc: you need to set macro '%modularitylabel' to
some value
10:26 <ttereshc> that simple
10:26 <bherring> Within the .spec file, no?
10:26 <ttereshc> yes
10:26 <ttereshc> that's my understanding
</code></pre> RPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMhttps://pulp.plan.io/issues/4930?journal_id=445302019-06-10T12:36:03Zbherring
<ul><li><strong>Parent issue</strong> set to <i>#4942</i></li></ul> RPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMhttps://pulp.plan.io/issues/4930?journal_id=445312019-06-10T12:36:19Zbherring
<ul><li><strong>Assignee</strong> set to <i>bherring</i></li></ul> RPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMhttps://pulp.plan.io/issues/4930?journal_id=445322019-06-10T12:36:25Zbherring
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>ASSIGNED</i></li></ul> RPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMhttps://pulp.plan.io/issues/4930?journal_id=445372019-06-10T14:02:48Zbherring
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul> RPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMhttps://pulp.plan.io/issues/4930?journal_id=446282019-06-12T17:48:07Zbherring
<ul><li><strong>Status</strong> changed from <i>ASSIGNED</i> to <i>MODIFIED</i></li></ul> RPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMhttps://pulp.plan.io/issues/4930?journal_id=446492019-06-13T11:23:10Zbherring
<ul></ul><a name="How-to-check-the-Modularity-Label-in-an-RPM"></a>
<h2 >How to check the Modularity Label in an RPM<a href="#How-to-check-the-Modularity-Label-in-an-RPM" class="wiki-anchor">¶</a></h2>
<pre><code>The RPM comes from here: https://repos.fedorapeople.org/repos/pulp/pulp/fixtures/rpm-with-modular/
I looked at the RPM headers with this command I got from the internet.
rpm -qp nodejs-10.15.2-1.module_f30+3181+3be24b3a.x86_64.rpm --qf "$(rpm --querytags | sed -nr 's/(.*)/\1:%{\1}/p' | tr '[:space:]' '\n')"
and it gave
MODULARITYLABEL:nodejs:10:3020190301191749:a5b0195c
</code></pre> RPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMhttps://pulp.plan.io/issues/4930?journal_id=448872019-06-21T05:08:05Zbherring
<ul></ul><p>Applied in changeset <a class="changeset" title="Adding check for modular RPM upload Issue #4869 updates the DISTAG check to a new backwards comp..." href="https://pulp.plan.io/projects/pulp/repository/pulp-2-tests/revisions/2253a11a9d878c15b681a98bb4783d922403e708">pulp:pulp-2-tests|2253a11a9d878c15b681a98bb4783d922403e708</a>.</p> RPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMhttps://pulp.plan.io/issues/4930?journal_id=450722019-06-25T11:18:36Zttereshcttereshc@redhat.com
<ul><li><strong>Sprint/Milestone</strong> set to <i>2.20.0</i></li></ul> RPM Support - Test #4930: NaUse RPMTAG_MODULARITYLABEL to determine modular RPMhttps://pulp.plan.io/issues/4930?journal_id=463482019-08-06T11:29:01Zbherring
<ul><li><strong>Status</strong> changed from <i>MODIFIED</i> to <i>CLOSED - COMPLETE</i></li></ul>