Skip to content

Incorrect package version detected by AnityaDistribution attribute with set_version #18610

@pallaswept

Description

@pallaswept

Issue Description

OBS has a new feature using the OBS:AnityaDistribution attribute, which checks upstream versions and fetches the version of a package from the .spec file. It's very helpful.

Where the package uses OBS services to fetch new sources and set the package version at build time, the spec file version remains the same, so OBS detects the wrong package version.

Expected Result

Correct version of package detected

How to Reproduce

  1. Use _services file to fetch sources
  2. Use <service name="set_version" mode="buildtime" />
  3. Use AnityaDistribution attribute

Further Information

Thanks for a great new feature!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions