[SOLVED] How to create RPM package for OTRS 3.3.6

Moderator: crythias

Locked
PriteshP23
Znuny newbie
Posts: 98
Joined: 02 Sep 2014, 23:01
Znuny Version: 4.0.9-02

[SOLVED] How to create RPM package for OTRS 3.3.6

Post by PriteshP23 »

Hello,
I want to create rpm package of current OTRS to test it on other machine. I am using:
OTRS 3.3.6
Apache/2.2.15
Perl Version (5.10.1 (linux))
Database Version (PostgreSQL 9.2.9)
CentOS 6.5
Linux 6.x86_64

I am new to RPM. I have just install rpm. What is next step?
Actually, i have no idea for Config/Database/Caches files to include in package or not. There may be other conditionds as well. So, if you have ANY idea/link/tuto, please let me know.

Thanks in advanced for your input and time.
Last edited by PriteshP23 on 11 Sep 2014, 22:14, edited 1 time in total.
OTRS 4.0.10-02 PostgreSQL 9.3.5
Perl 5.10.1 (linux) is used.
OS: Cent OS 6.5
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to create RPM package for OTRS 3.3.6

Post by crythias »

Why (an old version) and why recreate the wheel?
Use OTRS backup utility and create a backup. Install original OTRS RPM and restore from backup file.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
PriteshP23
Znuny newbie
Posts: 98
Joined: 02 Sep 2014, 23:01
Znuny Version: 4.0.9-02

Re: How to create RPM package for OTRS 3.3.6

Post by PriteshP23 »

Why (an old version) and why recreate the wheel?
Because i have customised based on our requiremnts. So, in original OTRS, we can't get what we want. For the moment, OTRS 4 is in testing.
Any idea to create RPM Package without Config files?
Thanks..!
OTRS 4.0.10-02 PostgreSQL 9.3.5
Perl 5.10.1 (linux) is used.
OS: Cent OS 6.5
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to create RPM package for OTRS 3.3.6

Post by crythias »

I can't help with this.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to create RPM package for OTRS 3.3.6

Post by jojo »

building rpms is not an OTRS topic and also not is a good way to provide changes of OTRS code.

You should
- Install a plain OTRS 3.3.x (latest version)
- package your changes into an OTRS package (opm)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
PriteshP23
Znuny newbie
Posts: 98
Joined: 02 Sep 2014, 23:01
Znuny Version: 4.0.9-02

Re: How to create RPM package for OTRS 3.3.6

Post by PriteshP23 »

Thanks for your input. Yes, i agree that it is not an OTRS issue.

I came to know that in OTRS/scrips/fedora-otrs.spec file which i need to follow for rpm pckg.
OTRS 4.0.10-02 PostgreSQL 9.3.5
Perl 5.10.1 (linux) is used.
OS: Cent OS 6.5
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to create RPM package for OTRS 3.3.6

Post by jojo »

again:

You should
- Install a plain OTRS 3.3.x (latest version)
- package your changes into an OTRS package (opm)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
PriteshP23
Znuny newbie
Posts: 98
Joined: 02 Sep 2014, 23:01
Znuny Version: 4.0.9-02

Re: How to create RPM package for OTRS 3.3.6

Post by PriteshP23 »

OTRS 4.0.10-02 PostgreSQL 9.3.5
Perl 5.10.1 (linux) is used.
OS: Cent OS 6.5
Locked