code: def anitya_specific_distro(config, message, distro=None, *args, **kw):
      
  
      if not distro:
          return False
  
      if not anitya_catchall(config, message):
          return False
  
      d = message['msg'].get('distro', {})
      if d:  # Have to be careful for None here
          if d.get('name', '').lower() == distro.lower():
              return True
  
      d = None
      p = message['msg'].get('project', {})
      if p:
          d = p.get('distro', {})
      if d:  # Have to be careful for None here
          if d.get('name', '').lower() == distro.lower():
              return True
  
      for pkg in message['msg'].get('message', {}).get('packages', []):
          if pkg['distro'].lower() == distro.lower():
              return True
  
      return False
docs: Distro-specific release-monitoring.org events
  
      This rule will match all anitya events *only for a particular distro*.