Comments on: How to Create RPM for Your Own Script in CentOS/RedHat https://tecadmin.net/create-rpm-of-your-own-script-in-centosredhat/ How to guide for System Administrator's and Developers Tue, 23 Jun 2020 05:05:18 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: niloofar https://tecadmin.net/create-rpm-of-your-own-script-in-centosredhat/#comment-52130 Tue, 23 Jun 2020 05:05:18 +0000 https://tecadmin.net/?p=356#comment-52130 thankyou! your tutorials are greate .

]]>
By: Soumya Jain https://tecadmin.net/create-rpm-of-your-own-script-in-centosredhat/#comment-46054 Mon, 27 Apr 2020 06:34:05 +0000 https://tecadmin.net/?p=356#comment-46054 Hi,

We have custom scripts to perform certain installation with require dynamic inputs to be passed at the time we run the script which cannot be achieved using RPM packages. I want to understand if there is a way we can still use our own scripts,gather post installation information and create a SPEC file(no installation). May be just the below information:

Name: mydumpadmin
Version: 1
Release: 0
Summary: An Advance Bash Script for MySQL Database Backup

Group: TecAdmin
BuildArch: noarch
License: GPL
URL: https://github.com/tecrahul/mydumpadmin.git
Source0: mydumpadmin-1.0.tar.gz

%description
Write some description about your package here

With no source, can we package and create an RPM package with the above requirements?

]]>
By: LucaC https://tecadmin.net/create-rpm-of-your-own-script-in-centosredhat/#comment-42827 Wed, 25 Sep 2019 08:40:27 +0000 https://tecadmin.net/?p=356#comment-42827 If I have to create a general package and then 3 others installation that change only some parameter in some text file, how this can be done?

]]>
By: Rahul https://tecadmin.net/create-rpm-of-your-own-script-in-centosredhat/#comment-41056 Fri, 24 May 2019 12:01:47 +0000 https://tecadmin.net/?p=356#comment-41056 Hi Abhishek, The file locations of the installed file will be the same as defined in the .spec file.

]]>
By: Abhishek https://tecadmin.net/create-rpm-of-your-own-script-in-centosredhat/#comment-41031 Thu, 23 May 2019 06:39:29 +0000 https://tecadmin.net/?p=356#comment-41031 Where can I find my installed package?

]]>
By: Rahul K. https://tecadmin.net/create-rpm-of-your-own-script-in-centosredhat/#comment-4016 Wed, 26 Jul 2017 04:13:23 +0000 https://tecadmin.net/?p=356#comment-4016 You can use Requires tag to install dependencies for your package

http://wiki.rosalab.ru/en/index.php/RPM_spec_file_syntax#Requires.2C_Obsoletes.2C_Provides.2C_Conflicts.2C_etc.

]]>
By: sherif https://tecadmin.net/create-rpm-of-your-own-script-in-centosredhat/#comment-4011 Tue, 25 Jul 2017 08:25:58 +0000 https://tecadmin.net/?p=356#comment-4011 if i want to add another require RPMS before i install my script how to add as example want to include “yum install rsync ” in my rpm package how i can do that ?

]]>
By: Doctor Coldfoot https://tecadmin.net/create-rpm-of-your-own-script-in-centosredhat/#comment-3174 Mon, 31 Oct 2016 20:30:09 +0000 https://tecadmin.net/?p=356#comment-3174 Only One little problem. The Group tag “Rahul” is invalid. For a list of usable groups check out:
/usr/share/doc/rpm-/GROUPS

]]>
By: arif https://tecadmin.net/create-rpm-of-your-own-script-in-centosredhat/#comment-3163 Tue, 25 Oct 2016 11:17:53 +0000 https://tecadmin.net/?p=356#comment-3163 I was preparing a new rpm to take backup of /root/Downloads/webmin to /var/tmp/webmin.tar.gz
I installed the newly built rpm package but not able to see the package in rpm -qa output.

[root@localhost noarch]# rpm -qa | grep -i webmin1-1-0.noarch.rpm
[root@localhost noarch]#

Can anybody let me know how can this be solved ?

]]>