Link to home
Start Free TrialLog in
Avatar of Rohit Bajaj
Rohit BajajFlag for India

asked on

usage of %{name} in rpm spec file

HI,
Following is a portion of an rpm spec file :
Summary: UDP Echo Server
Name: uecho
Version: 0.4.3
Release: 1
License: Commercial
Group: System Environment/Daemons
URL: 
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: x86_64
BuildRequires: libevent-devel
Requires: libevent
Requires(pre): shadow-utils
Requires(post): chkconfig, initscripts
Requires(preun): chkconfig, initscripts

Open in new window


what does this line means : Source0: %{name}-%{version}.tar.gz
where does the name gets passed from .

Thanks
Avatar of gheist
gheist
Flag of Belgium image

Are you making fun by asking obvious?

The variable definition is 6 lines before first reference to variable?
ASKER CERTIFIED SOLUTION
Avatar of Rohit Bajaj
Rohit Bajaj
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rohit Bajaj

ASKER

I've requested that this question be deleted for the following reason:

There were no specific answers given. Infact i only answered my question to some extent
You got accurate answer. You did not mention entire context (that you use maven on OSX, if I trust other questions) which qualifies question for much more topic areas.