2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-23 01:51:54 +00:00

Merge pull request #36 from xcat2/CBC

Modify the Build-notes
This commit is contained in:
cxhong 2020-01-06 16:38:24 -05:00 committed by GitHub
commit 4a7cb41e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,4 @@
1.(Optional) Get the right version of net-snmp source RPM from internet, i.e., from RHEL source tree.
2. rpm -Uvh net-snmp-5.7.2-20.ael7b.src.rpm
3. rpmbuild -bb /root/rpmbuild/SPECS/net-snmp.spec, which creates the /root/rpmbuild/RPMS/ppc64le/net-snmp-perl-5.7.2-20.ael7b.ppc64le.rpm
ex: https://ftp3.linux.ibm.com/files/redhat/release_cds/RHEL-8.1.0-GA/BaseOS/source/tree/Packages/net-snmp-5.8-10.el8.src.rpm
2. rpm -Uvh net-snmp-5.8-10.el8.src.rpm (needs to be on the node which has rhel8 and has net-snmp rpm with version 5.8-10)
3. rpmbuild -bb /root/rpmbuild/SPECS/net-snmp.spec, which creates the /root/rpmbuild/RPMS/ppc64le/net-snmp-perl-5.8-10.ppc64le.rpm

Binary file not shown.

View File

@ -1,6 +1,7 @@
# The steps below are verified on x86_64 SLES 12
1. Copy Crypt-CBC-2.33.tar.gz to /usr/src/packages/SOURCES/.
2. Copy perl-Crypt-CBC.spec to /usr/src/packages/SPECS/
3. Modify Release to perl version in the perl-Crypt-CBC.spec
3. Run "rpmbuild -ba /usr/src/packages/SPECS/perl-Crypt-CBC.spec" which creates /usr/src/packages/RPMS/noarch/perl-Crypt-CBC-2.33-3.7.noarch.rpm
For RHEL 8, run "rpmbuild --rebuild perl-Crypt-CBC-2.33-20.fc29.src.rpm".

View File

@ -18,7 +18,7 @@
Name: perl-Crypt-CBC
Version: 2.33
Release: 3.7
Release: 5.26
%define cpan_name Crypt-CBC
Summary: Encrypt Data with Cipher Block Chaining Mode
License: GPL-1.0+ or Artistic-1.0