don't manually specify, clean buildroot

This commit is contained in:
Nils Philippsen 2015-05-20 17:52:33 +02:00
parent 8ef752bba7
commit 9b4cbba2a6

View File

@ -13,7 +13,6 @@ BuildRequires: gettext
BuildRequires: libjpeg-devel
BuildRequires: lcms2-devel
BuildRequires: jasper-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%__id_u -n)
Provides: bundled(dcraw)
%description
@ -39,7 +38,6 @@ for catsrc in dcraw_*.po; do
done
%install
rm -rf %buildroot
install -d -m 0755 %{buildroot}%{_bindir}
install -m 0755 dcraw %{buildroot}%{_bindir}
@ -66,9 +64,6 @@ done
%find_lang %{name}
%clean
rm -rf %buildroot
%files -f %{name}.lang -f %{name}-man-files
%defattr(-, root, root)
%{_bindir}/dcraw
@ -77,6 +72,7 @@ rm -rf %buildroot
%changelog
* Wed May 20 2015 Nils Philippsen <nils@redhat.com>
- add Provides: bundled(dcraw)
- don't manually specify, clean buildroot
* Wed May 20 2015 Nils Philippsen <nils@redhat.com> - 9.25.0-1
- version 9.25.0