[sdcc/f19] remove none-free, upgrade to 3.3.0
Roy Rankin
rrankin at fedoraproject.org
Mon Sep 2 11:46:48 UTC 2013
commit 1167ae049bdbf757a8fae73fecc8c7011ac6326c
Author: Roy Rankin <rrankin at ihug.com.au>
Date: Mon Sep 2 21:46:31 2013 +1000
remove none-free, upgrade to 3.3.0
.gitignore | 1 +
sdcc-3.2.0.diff | 196 -------------------------------------------------------
sdcc.spec | 16 +++--
sources | 2 +-
4 files changed, 13 insertions(+), 202 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 684df94..14203c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/sdcc-src-3.2.0.tar.bz2
+/sdcc-src-3.3.0.tar.bz2
diff --git a/sdcc.spec b/sdcc.spec
index 20117b2..53039a9 100644
--- a/sdcc.spec
+++ b/sdcc.spec
@@ -1,6 +1,6 @@
Name: sdcc
-Version: 3.2.0
-Release: 3%{?dist}
+Version: 3.3.0
+Release: 0%{?dist}
Summary: Small Device C Compiler
Group: Applications/Engineering
License: GPLv2+
@@ -10,7 +10,7 @@ Source1: README.fedora
# Misc fixes to allow building with boost > 1.50.0
# Mostly from upstream's 3.3.0 prereleases.
-Patch0: sdcc-3.2.0.diff
+#Patch0: sdcc-3.2.0.diff
BuildRequires: bison
BuildRequires: boost-devel
@@ -55,8 +55,7 @@ Emacs extensions for SDCC.
%prep
-%setup -q -n sdcc
-%patch0 -p1
+%setup -q
find -name '*.{c,h,cc}' -exec chmod -x '{}' \;
# Disable brp-strip-static-archive for now because it errors trying to
@@ -82,6 +81,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 +124,10 @@ popd
%changelog
+* Mon Sep 02 2013 Roy Rankin <rrankin at ihug.com.au> - 3.3.0-0
+- Remove non-free directory tree which is not GPL compatible
+- Upstream update 3.3.0
+
* 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.
diff --git a/sources b/sources
index b23e0e6..93ba1ce 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0808a9b4109d2ba6046ddd7b679a0012 sdcc-src-3.2.0.tar.bz2
+c7c6aa75415580795ecc4fd31948e5ba sdcc-src-3.3.0.tar.bz2
More information about the scm-commits
mailing list