[sdcc/f18] Remove non-free directory from package

Roy Rankin rrankin at fedoraproject.org
Mon Sep 2 21:17:28 UTC 2013


commit 11c1ef6abcff8e75654e119016a4255991fc2e45
Author: Roy Rankin <rrankin at ihug.com.au>
Date:   Tue Sep 3 07:17:11 2013 +1000

    Remove non-free directory from package

 sdcc.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/sdcc.spec b/sdcc.spec
index d019d6e..b6ad9f6 100644
--- a/sdcc.spec
+++ b/sdcc.spec
@@ -1,6 +1,6 @@
 Name:           sdcc
 Version:        3.2.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Small Device C Compiler
 Group:          Applications/Engineering
 License:        GPLv2+
@@ -82,6 +82,9 @@ mv $RPM_BUILD_ROOT%{_bindir}/*.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
 find $RPM_BUILD_ROOT -type f -name \*.c -exec chmod a-x '{}' \;
 mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/sdcc
 mv $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_libexecdir}/sdcc
+# remove non-free component
+rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/non-free
+
 
 # Create launch scripts in _bindir
 pushd $RPM_BUILD_ROOT%{_bindir}
@@ -122,6 +125,9 @@ popd
 
 
 %changelog
+* Mon Sep 02 2013 Roy Rankin <rrankin at ihug.com.au> - 3.2.0-4
+- Remove non-free directory tree which is not GPL compatible
+
 * Fri May 17 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.2.0-3
 - Modernize spec.
 - Reflect ghostscript in Fedora >= 18 having dropped pdfopt.


More information about the scm-commits mailing list