View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007416 | CentOS-7 | centos-release | public | 2014-07-22 09:27 | 2016-11-23 06:39 |
Reporter | Morten_Stevens | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 7.0-1406 | ||||
Summary | 0007416: dist tag issue for mock / epel-7-x86_64 | ||||
Description | If I request an epel-7 build on my local build machine CentOS adds a ".centos" tag to all rpms. This is an issue for Fedora-EPEL maintainers. For example: mock -r epel-7-x86_64 --rebuild htop-1.0.3-3.el7.src.rpm Result: -rw-rw-r-- 1 mockbuild mock 407683 Jul 22 00:25 htop-1.0.3-3.el7.centos.src.rpm -rw-rw-r-- 1 mockbuild mock 88400 Jul 22 00:25 htop-1.0.3-3.el7.centos.x86_64.rpm -rw-rw-r-- 1 mockbuild mock 194936 Jul 22 00:25 htop-debuginfo-1.0.3-3.el7.centos.x86_64.rpm Expected result: No .centos tag! | ||||
Additional Information | I suspect that this is the problem: https://git.centos.org/commitdiff/rpms!centos-release/c742ab5b7e192a189803546bb5d1c759c687fcbd -%define dist .el%{dist_release_version} +%define dist .el%{dist_release_version}.centos | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
The release tag is defined on purpose as .el7.centos. You must override that in your build system if you want to use a different tag | |
Adding this to /etc/mock/epel-7-x86_64 should resolve the problem: config_opts['macros']['%dist'] = '.el7' |
|
This '.centos' tag was added as of CentOS 7. In CentOS 6, $ cat /etc/rpm/macros.dist # dist macros. %rhel 6 %centos 6 %centos_ver 6 %dist .el6 %el6 1 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-07-22 09:27 | Morten_Stevens | New Issue | |
2014-07-22 09:43 |
|
Note Added: 0020497 | |
2014-08-19 21:11 | adamb | Note Added: 0020714 | |
2014-09-22 14:25 |
|
Status | new => closed |
2014-09-22 14:25 |
|
Resolution | open => no change required |
2016-11-23 06:39 | toracat | Note Added: 0027979 |