[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpms/ripmime/devel import.log, NONE, 1.1 ripmime.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- From: Michael Schwendt <mschwendt gmail com>
- To: Itamar Reis Peixoto <itamar ispbrasil com br>
- Cc: fedora-devel-list redhat com
- Subject: Re: rpms/ripmime/devel import.log, NONE, 1.1 ripmime.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Date: Sun, 2 Aug 2009 07:39:59 +0200
On Sat, 1 Aug 2009 20:19:13 +0000 (UTC), Itamar wrote:
> Author: itamarjp
>
> Update of /cvs/pkgs/rpms/ripmime/devel
> %install
> rm -rf $RPM_BUILD_ROOT
>
> install -Dp -m 0755 $RPM_BUILD_DIR/%{name}-%{version}/%{name} %{buildroot}%{_bindir}/%{name}
> install -Dp -m 0644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
>
At the start of %install, current working-directory is at the top of the
extracted source tarball already. Specifying the absolute path using
$RPM_BUILD_DIR is not needed. It is fragile even, as it bears the risk of
requiring changes any time %version could not be used unmodified due to
Fedora's package release versioning guidelines.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]