From 5e82a25f8f984d94bf4ecba05809e7b089e54c1b Mon Sep 17 00:00:00 2001 From: Dominik Mierzejewski Date: Wed, 11 Mar 2015 23:30:13 +0100 Subject: [PATCH] fix binaries in noarch package build failure - don't duplicate documentation and examples in -devel - clean binaries in EXAMPLES after running testsuite --- arpack.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arpack.spec b/arpack.spec index 9059d77..68dbc2c 100644 --- a/arpack.spec +++ b/arpack.spec @@ -79,6 +79,7 @@ rm -r %{buildroot}%{_libdir}/*.la %check make %{?_smp_mflags} check +pushd EXAMPLES ; make clean ; popd %clean rm -rf %{buildroot} @@ -93,7 +94,6 @@ rm -rf %{buildroot} %files devel %defattr(-,root,root,-) -%doc DOCUMENTS EXAMPLES %{_libdir}/pkgconfig/arpack.pc %{_libdir}/libarpack.so @@ -111,6 +111,8 @@ rm -rf %{buildroot} - fix source URL - example binary is no longer installed by default - enable tests +- don't duplicate documentation and examples in -devel +- clean binaries in EXAMPLES after running testsuite * Fri Aug 15 2014 Fedora Release Engineering - 3.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild