Rohit Bajaj
asked on
usage of %{name} in rpm spec file
HI,
Following is a portion of an rpm spec file :
what does this line means : Source0: %{name}-%{version}.tar.gz
where does the name gets passed from .
Thanks
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
what does this line means : Source0: %{name}-%{version}.tar.gz
where does the name gets passed from .
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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.
The variable definition is 6 lines before first reference to variable?