[pcc: 1/2] Update to 1.0.0.

Jussi Lehtola jussilehtola at fedoraproject.org
Fri Apr 1 15:42:59 UTC 2011


commit a2ce16674bf89e785ccec4346bb1b3e6db1246b5
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Fri Apr 1 18:41:22 2011 +0300

    Update to 1.0.0.

 .gitignore |    2 ++
 pcc.spec   |   24 +++++++++++-------------
 sources    |    4 ++--
 3 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 610e272..b7a7b67 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,5 @@ pcc-libs-100413.tgz
 /pcc-libs-101119.tgz
 /pcc-20110203.tgz
 /pcc-libs-20110203.tgz
+/pcc-1.0.0.tgz
+/pcc-libs-1.0.0.tgz
diff --git a/pcc.spec b/pcc.spec
index 991b885..560a9e7 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}
 %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.
+
 * Thu Feb 03 2011 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.9.9-0.4.20110203cvs
 - Update to 20110203.
 
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