Comments (3)
@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.
Refer to the following CentOS bug tracker: https://bugs.centos.org/view.php?id=14955
from rpm-haproxy.
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)
- Add support for Prometheus Exporter HOT 3
- Lua support needs root to create RPM HOT 2
- Compile option USE_PTHREAD_PSHARED=1 HOT 1
- yum install - Unknown operation 'try-reload-or-restart' HOT 3
- wget unable to use https based proxies - swap to curl? HOT 3
- centos 7 - HSTS HOT 1
- `make run-docker` fails on a chcon HOT 3
- Compile with Specific Openssl HOT 3
- USE _LUA=1 installs lua in /usr/local and don't clean up with make clean HOT 1
- VERSION selection should filter for MAINVERSION HOT 1
- Error building haproxy 2.4.4. using USE_LUA=1 HOT 1
- Does not seem to work on Centos 7.9 HOT 1
- Log lines appearing with wrong prefix HOT 1
- backend server ssl health fails with backend server running tls v1.3 HOT 3
- 2.4: bad date in changelog
- Invalid Makefile HOT 2
- Add haproxy 2.5, 2.6 and 2.7 HOT 3
- Add support for Amazon Linux 2023 HOT 2
- Support for HAProxy 1.8.1 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpm-haproxy.