[pcc/f15/master] Update to 1.0.0.

Jussi Lehtola jussilehtola at fedoraproject.org
Fri Apr 1 16:24:08 UTC 2011


commit 24805c64f9ef95ef34c23719119b83a10764aae2
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Fri Apr 1 19:24:04 2011 +0300

    Update to 1.0.0.

 pcc.spec |   24 +++++++++++-------------
 sources  |    4 ++--
 2 files changed, 13 insertions(+), 15 deletions(-)
---
diff --git a/pcc.spec b/pcc.spec
index 9326b4d..58a2aca 100644
--- a/pcc.spec
+++ b/pcc.spec
@@ -5,35 +5,29 @@
  export FFLAGS="${FLAGS} -I%{_fmoddir}"; \
  ./configure --program-prefix= --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir}
 
-# Used CVS snapshot
-%global snapshot 20110203
-
 # Use pcc to build? (This option is for sanity testing the compiler)
-%global usepcc 0 
-
+%global usepcc 0
 # RPM does not play well with pcc compiled package
 %if %{usepcc}
 %define debug_package %{nil}
 %endif
 
 # Release tag
-%define rel 0.4.%{snapshot}cvs
+%global rel 1
 
 Name:		pcc
-Version:	0.9.9
-
+Version:	1.0.0
 %if %{usepcc}
 Release:	%{rel}_pcc%{?dist}.1
 %else
 Release:	%{rel}%{?dist}
 %endif
-
 Summary:	The Portable C Compiler
 Group:		Development/Languages
 License:	BSD with advertising and BSD and ISC 
 URL:		http://pcc.ludd.ltu.se/
-Source0:	http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-%{snapshot}.tgz
-Source1:	http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/pcc-libs-%{snapshot}.tgz
+Source0:	ftp://pcc.ludd.ltu.se/pub/pcc-releases/pcc-%{version}.tgz
+Source1:	ftp://pcc.ludd.ltu.se/pub/pcc-releases/pcc-libs-%{version}.tgz
 # Patch to disable the use of -g on pcc-libs-090805/csu/linux/crtbegin.c which is partly assembler code
 Patch0:		pcc-090808-optflags.patch
 
@@ -66,11 +60,11 @@ students at Luleå University of Technology (LTU).
 Caution: the compiler is still undergoing heavy development.
 
 %prep
-%setup -q -n pcc-%{snapshot} -a1
+%setup -q -a1
 # Get rid of the default optimization flag
 find . -name Makefile.in |xargs sed -i 's| -O | |g'
 # Rename the libs directory for the patch to work
-mv pcc-libs-%{snapshot} pcc-libs
+mv pcc-libs-%{version} pcc-libs
 # Apply patch
 %patch0 -p1
 
@@ -141,6 +135,10 @@ rm -rf %{buildroot}
 %{_mandir}/man1/pcc.1.*
 
 %changelog
+* Fri Apr 01 2011 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.0-1
+- Switch to using stable releases.
+- Update to 1.0.
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.9-0.4.20110203cvs
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 18afced..f58b87b 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-2f1b5eb20004fb82cf58872d8446b5c1  pcc-20110203.tgz
-834d4d60732cae4b7de282043707509a  pcc-libs-20110203.tgz
+6e5d851ee57fe58702fe4e80ecd1f852  pcc-1.0.0.tgz
+a8dfcd6d3be512bc3f16f96c9abf132e  pcc-libs-1.0.0.tgz


More information about the scm-commits mailing list