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 Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux