rpms/ripmime/devel import.log, NONE, 1.1 ripmime.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael Schwendt mschwendt at gmail.com
Sun Aug 2 05:39:59 UTC 2009


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.




More information about the devel mailing list