[Bug 728006] Review Request: mhddfs - Fuse-based file system for unifying several mount points into one

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 4 16:41:10 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=728006

--- Comment #10 from Nathan Owe <ndowens04 at gmail.com> 2011-08-04 12:41:09 EDT ---
Also need to up the release version too. Also you don't need
%defattr(-,root,root,-)

rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/%{_bindir}
install -d -m 755 $RPM_BUILD_ROOT/%{_mandir}/man1
install -m 755 %{name} $RPM_BUILD_ROOT/%{_bindir}
install -m 644 %{name}.1 $RPM_BUILD_ROOT/%{_mandir}/man1

Change to
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/%{_bindir}
install -d $RPM_BUILD_ROOT/%{_mandir}/man1
install -m 755 %{name} $RPM_BUILD_ROOT/%{_bindir}/%{name}
install -m 644 %{name}.1 $RPM_BUILD_ROOT/%{_mandir}/man1/%{name}.1

If you do something like 
install -d -m 755 $RPM_BUILD_ROOT/%{_bindir}
it may try install as %{_bindir} instead of the intentional %{_bindir}/bin_file

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list