how can we rename nxlog package?

Tags:

#1 elango1

How can we rename nxlog package ? while we are placing both the rpm into spacewalk channel these are updating as “nxlog-ce-2.10.2150-1.x86_64.rpm” .So it's making a duplicate,So i hope renaming the rpm name will help us. Any help will be appreciated on this.

nxlog-ce-2.10.2150-1_rhel6.x86_64.rpm nxlog-ce-2.10.2150-1_rhel7.x86_64.rpm

Thanks! Ela

#2 Zhengshi Nxlog ✓
#1 elango1
How can we rename nxlog package ? while we are placing both the rpm into spacewalk channel these are updating as “nxlog-ce-2.10.2150-1.x86_64.rpm” .So it's making a duplicate,So i hope renaming the rpm name will help us. Any help will be appreciated on this. nxlog-ce-2.10.2150-1_rhel6.x86_64.rpm nxlog-ce-2.10.2150-1_rhel7.x86_64.rpm Thanks! Ela

I believe you can use the rpmrebuild tool to update the Release field.
Maybe into 1.rhel6and 1.rhel7 or similar.

Please see the following link for an example in action:
https://linuxconfig.org/how-to-modify-an-rpm-package-using-rpmrebuild