GithubHelp home page GithubHelp logo

Comments (3)

DBezemer avatar DBezemer commented on May 31, 2024

@bugfood can you post the output of:

/usr/lib/rpm/redhat/dist.sh --dist

On all my available CentOS environments this returns ".el7". As you can see from the WiP builds, the Docker builds has no issues with this either, leading me to believe this to be a problem with your local environment.

Also check the output of:

rpm -q --whatprovides /etc/rpm/macros.dist

The latest/current macros.dist provided by centos-release-7-9.2009.1.el7.centos.x86_64.rpm from repo contains:

# dist macros.

%centos_ver 7
%centos 7
%rhel 7
%dist .el7
%el7 1

from rpm-haproxy.

DBezemer avatar DBezemer commented on May 31, 2024

Refer to the following CentOS bug tracker: https://bugs.centos.org/view.php?id=14955

from rpm-haproxy.

bugfood avatar bugfood commented on May 31, 2024

Ah, I did not realize that had changed in centos 7.9. %dist was .el7.centos on centos 7.2, 7.4, 7.8, and presumably others. Sorry about that.

On centos 7.8:

$ /usr/lib/rpm/redhat/dist.sh --dist ; echo
.el7

I still think the code I pointed out has an issue, though; the conditional always evaluates to false. I think that either:
a. The conditional should be fixed in order to support centos 7.8 and below.
-or-
b. The conditional and its body should be removed, since it does nothing currently.

from rpm-haproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.