#43 rpm2module: filter should contain binary artefacts
Opened 6 years ago by ttomecek. Modified 6 years ago

data:
  api:
    rpms: [python3-docker, python2-docker]
  components:
    rpms:
      pytest: {rationale: Build dependency.}
      python-backports-ssl_match_hostname: {rationale: Build and runtime dependency.}
      python-coverage: {rationale: Build dependency.}
      python-docker: {buildorder: 10, rationale: Package in api}
      python-docker-pycreds: {rationale: Build and runtime dependency.}
      python-flake8: {rationale: Build dependency.}
      python-ipaddress: {rationale: Build and runtime dependency.}
      python-mock: {rationale: Build dependency.}
      python-pytest-cov: {rationale: Build dependency.}
      python-requests: {rationale: Build and runtime dependency.}
      python-websocket-client: {rationale: Build and runtime dependency.}
  dependencies:
    buildrequires: {base-runtime: f26, shared-userspace: f26}
    requires: {base-runtime: f26, shared-userspace: f26}
  description: ''
  filter:
    rpms: [python-mock, python-coverage, python-flake8, python-pytest-cov, pytest]
  license:
    module: [MIT]
  summary: ''
document: modulemd
version: 1

This is what I got for python{2,3}-docker. The thing is that those rpms mentioned in filter contain much more artefacts. Let's see latest build of pytest, it has binary artefacts:
* python2-pytest-3.1.1-2.fc27.noarch.rpm
* python3-pytest-3.1.1-2.fc27.noarch.rpm

Those should be in the filter list, not the srpm name.


Login to comment on this ticket.

Metadata