[hlint] use %buildroot and remove .chain-deps

Jens Petersen petersen at fedoraproject.org
Sun Dec 22 13:02:07 UTC 2013


commit 8ef208b7dd217699000329e00523b052a60becab
Author: Jens Petersen <petersen at redhat.com>
Date:   Sun Dec 22 22:01:55 2013 +0900

    use %buildroot and remove .chain-deps

 .chain-deps |    1 -
 hlint.spec  |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/hlint.spec b/hlint.spec
index d9e6381..595e52b 100644
--- a/hlint.spec
+++ b/hlint.spec
@@ -58,8 +58,8 @@ This package provides the Haskell %{name} library development files.
 %install
 %ghc_lib_install
 
-mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
-mv $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/hlint.1 $RPM_BUILD_ROOT%{_mandir}/man1
+mkdir -p %{buildroot}%{_mandir}/man1
+mv %{buildroot}%{_datadir}/%{name}-%{version}/hlint.1 %{buildroot}%{_mandir}/man1
 
 
 %post -n ghc-%{name}-devel


More information about the scm-commits mailing list