nphilipp pushed to ufraw (f21). "don't manually specify, clean buildroot"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu May 21 11:58:42 UTC 2015


From baaa67a719d3f704cf2405fb3d9bd92f04b2b09d Mon Sep 17 00:00:00 2001
From: Nils Philippsen <nils at redhat.com>
Date: Wed, 20 May 2015 18:10:17 +0200
Subject: don't manually specify, clean buildroot


diff --git a/ufraw.spec b/ufraw.spec
index 28ded1f..3eb3639 100644
--- a/ufraw.spec
+++ b/ufraw.spec
@@ -56,7 +56,6 @@ BuildRequires: gettext
 BuildRequires: cfitsio-devel
 Requires(post): desktop-file-utils
 Requires(postun): desktop-file-utils
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%__id_u -n)
 %if %{with splitpackage}
 Requires: ufraw-common = %{?epoch:%{epoch}:}%{version}-%{release}
 %else
@@ -133,7 +132,6 @@ EOF
 make schemasdir=%{_sysconfdir}/gconf/schemas
 
 %install
-rm -rf %buildroot
 make DESTDIR=%buildroot schemasdir=%{_sysconfdir}/gconf/schemas install
 # don't ship dcraw binary
 rm -f %{buildroot}%{_bindir}/dcraw
@@ -147,9 +145,6 @@ popd
 
 %find_lang %{name}
 
-%clean
-rm -rf %buildroot
-
 %post %{?spkg:common}
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/ufraw.schemas >& /dev/null || :
@@ -217,6 +212,7 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 %changelog
 * Wed May 20 2015 Nils Philippsen <nils at redhat.com> - 0.21-1
 - version 0.21
+- don't manually specify, clean buildroot
 
 * Thu May 14 2015 Nils Philippsen <nils at redhat.com> - 0.20-4
 - rebuild for lensfun-0.3.1
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/ufraw.git/commit/?h=f21&id=baaa67a719d3f704cf2405fb3d9bd92f04b2b09d


More information about the scm-commits mailing list