Red Hat RPM - Help creating RPM

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat RPM > January 2004 > Help creating RPM





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Help creating RPM
Sebastian Scholz

2004-01-23, 7:49 pm

Hi

I currently try to create a RPM package myself and its works so far. The
installation itself seems to work too, but the files that are inside the RPM
package are nowhere seen ? Any idea ? What happens to the /usr/testfile.tar
file and why am I not seeing the echo output ???

Here is the spec file I use :

---- test.spec ------------------
Summary: Test RPM.
Name: TEST
Version: 1.0.2
Release: 3
Vendor: TESTCompany
Requires: testpackage >=1.0.1


%description
A test rpm.

%define INSTALL_DIR /usr/teststuff

%prep

%install
echo Install Test Test


%clean
rm -rf $RPM_BUILD_ROOT

%files
/usr/testfile.tar

%changelog
* Tue Nov 18 2003 test <test@test.com>
- test (release 3)

--------------------------------


Thanks,

Sebastian


Jacob Heider

2004-01-23, 7:49 pm

On Mon, 24 Nov 2003 16:12:56 +0100, Sebastian Scholz wrote:
quote:

> Hi
>
> I currently try to create a RPM package myself and its works so far. The
> installation itself seems to work too, but the files that are inside the
> RPM package are nowhere seen ? Any idea ? What happens to the
> /usr/testfile.tar file and why am I not seeing the echo output ???
>
> Here is the spec file I use :
>
> ---- test.spec ------------------
> Summary: Test RPM.
> Name: TEST
> Version: 1.0.2
> Release: 3
> Vendor: TESTCompany
> Requires: testpackage >=1.0.1
>
>
> %description
> A test rpm.
>
> %define INSTALL_DIR /usr/teststuff
>
> %prep
>
> %install
> echo Install Test Test
>
>
> %clean
> rm -rf $RPM_BUILD_ROOT
>
> %files
> /usr/testfile.tar
>
> %changelog
> * Tue Nov 18 2003 test <test@test.com> - test (release 3)
>
> --------------------------------
>
>
> Thanks,
>
> Sebastian



What's "rpm -ql test" say?

Jacob
Jacob Heider

2004-01-23, 7:49 pm

On Mon, 24 Nov 2003 16:12:56 +0100, Sebastian Scholz wrote:
quote:

> Hi
>
> I currently try to create a RPM package myself and its works so far. The
> installation itself seems to work too, but the files that are inside the
> RPM package are nowhere seen ? Any idea ? What happens to the
> /usr/testfile.tar file and why am I not seeing the echo output ???
>
> Here is the spec file I use :
>
> ---- test.spec ------------------
> Summary: Test RPM.
> Name: TEST
> Version: 1.0.2
> Release: 3
> Vendor: TESTCompany
> Requires: testpackage >=1.0.1
>
>
> %description
> A test rpm.
>
> %define INSTALL_DIR /usr/teststuff
>
> %prep
>
> %install
> echo Install Test Test
>
>
> %clean
> rm -rf $RPM_BUILD_ROOT
>
> %files
> /usr/testfile.tar
>
> %changelog
> * Tue Nov 18 2003 test <test@test.com> - test (release 3)
>
> --------------------------------
>
>
> Thanks,
>
> Sebastian



What's "rpm -ql test" say?

Jacob
Jacob Heider

2004-01-23, 7:49 pm

On Mon, 24 Nov 2003 16:12:56 +0100, Sebastian Scholz wrote:
quote:

> Hi
>
> I currently try to create a RPM package myself and its works so far. The
> installation itself seems to work too, but the files that are inside the
> RPM package are nowhere seen ? Any idea ? What happens to the
> /usr/testfile.tar file and why am I not seeing the echo output ???
>
> Here is the spec file I use :
>
> ---- test.spec ------------------
> Summary: Test RPM.
> Name: TEST
> Version: 1.0.2
> Release: 3
> Vendor: TESTCompany
> Requires: testpackage >=1.0.1
>
>
> %description
> A test rpm.
>
> %define INSTALL_DIR /usr/teststuff
>
> %prep
>
> %install
> echo Install Test Test
>
>
> %clean
> rm -rf $RPM_BUILD_ROOT
>
> %files
> /usr/testfile.tar
>
> %changelog
> * Tue Nov 18 2003 test <test@test.com> - test (release 3)
>
> --------------------------------
>
>
> Thanks,
>
> Sebastian



What's "rpm -ql test" say?

Jacob
Jacob Heider

2004-01-23, 7:49 pm

On Mon, 24 Nov 2003 16:12:56 +0100, Sebastian Scholz wrote:
quote:

> Hi
>
> I currently try to create a RPM package myself and its works so far. The
> installation itself seems to work too, but the files that are inside the
> RPM package are nowhere seen ? Any idea ? What happens to the
> /usr/testfile.tar file and why am I not seeing the echo output ???
>
> Here is the spec file I use :
>
> ---- test.spec ------------------
> Summary: Test RPM.
> Name: TEST
> Version: 1.0.2
> Release: 3
> Vendor: TESTCompany
> Requires: testpackage >=1.0.1
>
>
> %description
> A test rpm.
>
> %define INSTALL_DIR /usr/teststuff
>
> %prep
>
> %install
> echo Install Test Test
>
>
> %clean
> rm -rf $RPM_BUILD_ROOT
>
> %files
> /usr/testfile.tar
>
> %changelog
> * Tue Nov 18 2003 test <test@test.com> - test (release 3)
>
> --------------------------------
>
>
> Thanks,
>
> Sebastian



What's "rpm -ql test" say?

Jacob
Jacob Heider

2004-01-23, 7:49 pm

On Mon, 24 Nov 2003 16:12:56 +0100, Sebastian Scholz wrote:
quote:

> Hi
>
> I currently try to create a RPM package myself and its works so far. The
> installation itself seems to work too, but the files that are inside the
> RPM package are nowhere seen ? Any idea ? What happens to the
> /usr/testfile.tar file and why am I not seeing the echo output ???
>
> Here is the spec file I use :
>
> ---- test.spec ------------------
> Summary: Test RPM.
> Name: TEST
> Version: 1.0.2
> Release: 3
> Vendor: TESTCompany
> Requires: testpackage >=1.0.1
>
>
> %description
> A test rpm.
>
> %define INSTALL_DIR /usr/teststuff
>
> %prep
>
> %install
> echo Install Test Test
>
>
> %clean
> rm -rf $RPM_BUILD_ROOT
>
> %files
> /usr/testfile.tar
>
> %changelog
> * Tue Nov 18 2003 test <test@test.com> - test (release 3)
>
> --------------------------------
>
>
> Thanks,
>
> Sebastian



What's "rpm -ql test" say?

Jacob
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com