Skip to content

Commit 7404416

Browse files
committed
Bug#26474153 CONTRIBUTION: ADJUST SPEC FILE TO SHOW A PROPER RPMBUILD COMMAND
Package redhat-rpm-config adds some convenience macros when building on RHEL6 and later. Recommend package when rebuilding rpm package. RHEL5 is EOL, remove from comment. Change based on contribution from Simon Mudd, bug#87098.
1 parent af47120 commit 7404416

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packaging/rpm-oel/mysql.spec.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston
1515
# MA 02110-1301 USA.
1616

17-
# Rebuild on OL5/RHEL5 needs following rpmbuild options:
18-
# rpmbuild --define 'dist .el5' --define 'rhel 5' --define 'el5 1' mysql.spec
17+
# Package redhat-rpm-config will define some required macros.
18+
# With redhat-rpm-config install, rebuild is just: 'rpmbuild mysql.spec'
1919

20-
# Install cmake28 from EPEL when building on OL5/RHEL5 and OL6/RHEL6.
20+
# Install cmake28 from EPEL when building on OL6/RHEL6.
2121

2222
# NOTE: "vendor" is used in upgrade/downgrade check, so you can't
2323
# change these, has to be exactly as is.

0 commit comments

Comments
 (0)