Packaging Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,
 
Actually, I have probleme to packaging a system.
I'm able to get the rpm file but the binary files included in the rpm files dont have the same size anymore.
 
Orignally, I had a 16 meg file and after the installation, I get a file of 3.7 Megs. Its the case for all the binary files.
 
I dont know what Im doing wrong.
 
I'm using rpmbuild on
Linux 2.6.9-34.ELsmp #1 i686 i686 i386 GNU/Linux
 
Here is the spec file I'm using:
 
 
Name:           TTS-element
Version:        1.0
Release:        A1
Packager:      
Group:          Application
Copyright:     
Source:         element
prefix:         /tmp/element                                                                     
BuildRoot:      %{_buildroot}
AutoReqProv: no
Summary: TTS Element component                                                                   
# =========================================
# Preparation INSTRUCTIONS
# =========================================
%prep
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}/tmp/element
exit 0
# =========================================
# BUILD INSTRUCTIONS
# =========================================
%build
exit 0
# ===============================
# Creating Product File Structure
# ===============================
%install
cp -R ${RPM_SOURCE_DIR}/element/rel  ${RPM_BUILD_ROOT}/tmp/element
 
%clean
#rm -rf ${RPM_BUILD_ROOT}
exit 0
 
%post
rm -f /etc/rc5.d/S99TTS
ln -s ${RPM_INSTALL_PREFIX}/rel/example-release/TTS_RC_SCRIPT /etc/rc5.d/S99TTS
exit 0
 
%files
%defattr(755, root, root)
/tmp/element/*
Thanks for your help.


Everyone is raving about the all-new Yahoo! Mail beta.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux