[dtv-scan-tables] Fix build with mock/koji

mchehab mchehab at fedoraproject.org
Sun Sep 28 01:22:30 UTC 2014


commit 534b716898b2039b458fa086e0bd66174692ee7a
Author: Mauro Carvalho Chehab <mchehab at osg.samsung.com>
Date:   Sat Sep 27 22:20:08 2014 -0300

    Fix build with mock/koji
    
    While the build worked fine with fedpkg local, it is
    failing with mock/koji, because the source dir was wrong.
    
    Fix it.
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab at osg.samsung.com>

 dtv-scan-tables.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/dtv-scan-tables.spec b/dtv-scan-tables.spec
index ecf64f4..cc5e1ba 100644
--- a/dtv-scan-tables.spec
+++ b/dtv-scan-tables.spec
@@ -39,7 +39,7 @@ make dvbv3
 %install
 make DATADIR=%{buildroot}/%{_datadir} install install_v3
 %{__mkdir_p} %{buildroot}/%{_pkgdocdir}
-cp $RPM_SOURCE_DIR/%{name}-%{version}/COPYING* %{buildroot}/%{_pkgdocdir}
+cp COPYING* %{buildroot}/%{_pkgdocdir}
 
 %files legacy
 %{_datadir}/dvbv3/


More information about the scm-commits mailing list