Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Name: test
- Version: 1
- Release: 0
- Summary: Securaa RPM Creates specific files
- Group: Applications/test
- License: GPL
- Source0: test-1.tar.gz
- BuildArch: noarch
- BuildRoot: %{_tmppath}/%{name}-buildroot
- %description
- Creates YUM repository pointing local network CentOS repository
- %prep
- %setup -q
- %install
- mkdir -p "$RPM_BUILD_ROOT"
- cp -R * "$RPM_BUILD_ROOT"
- %clean
- rm -rf "$RPM_BUILD_ROOT"
- %post
- echo ..
- echo "Executing script"
- /etc/test/test.sh
- %files
- %defattr(-,root,root,-)
- /etc/test/test.sh
- yum install httpd
- yum install php
- yum install -y python36u python36u-libs python36u-devel python36u-pip
- Requires: httpd php python36u python36u-libs python36u-devel python36u-pip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement