hi,
I'm trying to create an rpm package,the issue i face is that i get an rpm created but when i do a rpm -ivh of this package and then check if this is being installed by using rpm -qla < package_name>,i get a message that its not being installed.
I tried to back trace and check if the tar ball from the SOURCE dir is being untarred in the BUILD dir,but there is nothing in the BUILD dir.am I doing the right thing.pls help
this is my .spec file in SPECS dir
Summary:trial
Name:trial
Version:007
Release:1
Source0:%{name}-%{version}.tar.gz
License: trial
Group: root
Prefix:/tmp
%description
This is trial
%prep
%setup
%build
echo "in build"
if [ -x ./configure ]; then
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix}
else
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
fi
make
"dc_rpm.spec" 31