Opened 10 years ago
Last modified 10 years ago
#11459 closed enhancement
[ Wish ] I want create rpm package without code source. — at Initial Version
Reported by: | tele | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
For install package I need only for example:
[code]
Requires: wget
%install cd /temp # Download , link is copied from webside from link "start the download manually"
# Unzip tar.gz
tar -zxvf ActivePerl-5.18.1.1800-i686-linux-64int-glibc-2.5-297570.tar.gz
# Entry to folder
cd /ActivePerl-5.18.1.1800-i686-linux-64int-glibc-2.5-297570
# We install with install.sh script with all answers yes for all questions in script
echo yes | ./install.sh —license-accepted
export PATH=$PATH:/opt/ActivePerl-5.18/site/bin:/opt/ActivePerl-5.18/bin export MANPATH=$MANPATH:/opt/ActivePerl-5.18/site/man:/opt/ActivePerl-5.18/man
# Out from folder cd ..
# Remove trash rm -rf ActivePerl-5.18.1.1800-i686-linux-64int-glibc-2.5-297570 rm -f ActivePerl-5.18.1.1800-i686-linux-64int-glibc-2.5-297570.tar.gz
%postun # postun executed just after uninstalling the package
rm -f /opt/ActivePerl-5.18
But but seems to rpmbuild want code source , I don't have code sorce. Can I ask for improvement to build rpm packages like this or similarly ? Because I have problem build package like above. :(