Home create var files under with "/" with rpmbuild
Reply: 0

create var files under with "/" with rpmbuild

user1013 Published in June 20, 2018, 12:13 am

I'm new to the rpmbuild, googled and copy one spec file paramenters and created rpm successfully when i ran it the rpm nothing is creating

var.tar.gz -- this is my tar file. it has

My spec file

[root@kaka1 SPECS]# vi var.spec 

Name:           var
Version:        1
Release:        0
Summary:        Xiph Streaming media server that supports multiple formats.
Group:          Applications/Multimedia
License:        GPL
URL:            http################
Source:         var-1.0.tar.gz
Prefix:         %{_prefix}
Packager:       Sukama
BuildRoot:      %{_tmppath}/%{name}-root

easily and supports open standards for commuincation and interaction.

rm -rf /root/rpmbuild/BUILD/*

%setup -n var

gzip -dc /root/rpmbuild/SOURCES/var-1.0.tar.gz| tar -xvvf  -
if [ $? -ne 0 ]; then
  exit $?

could you help me where can i should mention my files to create under root?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.325235 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO