Skip to content

Commit 3daa2a2

Browse files
authored
Merge pull request #28 from sgidevnet/elfdepsenabled
Updated for v0.0.4beta
2 parents 5a90c68 + ea3ceb4 commit 3daa2a2

File tree

136 files changed

+619
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+619
-98
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ The modifications from the original fedora `.spec` files fall under the license
1414

1515
## How to get this working
1616

17-
NOTE: Unlike `didbsng` - sgug-rse _must not_ use a "personal .rpmmacros" file - and if you had one from didbsng - you must remove it before proceeding below.
17+
NOTE: While we are not yet out of beta, it is recommended to remove any previous sgug-rse installation before extracting this new one. We don't yet support in-place upgrades using RPMs.
1818

1919
(1) Download the artifacts for the latest version from the github releases tab (assuming they aren't too big).
2020

2121
You'll find three main archives - and there might be "fix" archives too that need to be extracted:
2222

2323
```
24-
sgug-rse-selfhoster-0.0.3alpha.tar.gz
25-
sgug-rse-srpms-0.0.3alpha.tar.gz
26-
sgug-rse-rpms-0.0.3alpha.tar.gz
24+
sgug-rse-selfhoster-0.0.4beta.tar.gz
25+
sgug-rse-srpms-0.0.4beta.tar.gz
26+
sgug-rse-rpms-0.0.4beta.tar.gz
2727
28-
sgug-rse-blahfix-0.0.Xalpha.tar.gz
28+
sgug-rse-blahfix-0.0.Xbeta.tar.gz
2929
```
3030

3131
(2) Extract the selfhoster archive under /usr as root (important, sgug-rse _installation_ files are root owned and managed):
3232

3333
```
3434
su - (enter root password)
3535
cd /usr
36-
gunzip -dc /path/to/sgug-rse-selfhoster-0.0.3alpha.tar.gz |tar xf -
36+
gunzip -dc /path/to/sgug-rse-selfhoster-0.0.4beta.tar.gz |tar xf -
3737
(log out of root)
3838
```
3939

@@ -52,10 +52,10 @@ This should include any fixes:
5252

5353
```
5454
cd ~/rpmbuild
55-
gunzip -dc /path/to/sgug-rse-srpms-0.0.3alpha.tar.gz | tar xf -
56-
gunzip -dc /path/to/sgug-rse-rpms-0.0.3alpha.tar.gz | tar xf -
55+
gunzip -dc /path/to/sgug-rse-srpms-0.0.4beta.tar.gz | tar xf -
56+
gunzip -dc /path/to/sgug-rse-rpms-0.0.4beta.tar.gz | tar xf -
5757
# Optional
58-
gunzip -dc /path/to/sgug-rse-blahfix-0.0.Xalpha.tar.gz | tar xf -
58+
gunzip -dc /path/to/sgug-rse-blahfix-0.0.Xbeta.tar.gz | tar xf -
5959
```
6060

6161
(5) You'll need to clone this repo (sgug-rse) -
@@ -66,13 +66,15 @@ git clone https://github.com/sgidevnet/sgug-rse.git sgug-rse.git
6666
```
6767
Adjust that path as appropriate for where you wish the repo to live.
6868

69+
(Of course you can fork the repo and clone from your own copy!)
70+
6971
(6) Now you can build a package with:
7072

7173
```
7274
cd ~/sgug-rse.git
7375
./sgugshell.sh
7476
cd ~/rpmbuild/SPECS
75-
rpm -ivh ../SRPMS/m4-1.4.18-11.sgugalpha.src.rpm
77+
rpm -ivh ../SRPMS/m4-1.4.18-11.sgugbeta.src.rpm
7678
cp -r ~/sgug-rse.git/packages/m4/* ~/rpmbuild/
7779
rpmbuild -ba m4.spec --nocheck
7880
```

packages/aterm/SPECS/aterm.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This package is able to use optimised linker flags.
2+
%global build_ldflags %{sgug_optimised_ldflags}
3+
14
Name: aterm
25
Version: 1.0.1
36
Release: 29%{?dist}

packages/autoconf/SPECS/autoconf.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This package is able to use optimised linker flags.
2+
%global build_ldflags %{sgug_optimised_ldflags}
3+
14
# Enable Emacs support
25
%bcond_with autoconf_enables_emacs
36
# Run extended test

packages/automake/SPECS/automake.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This package is able to use optimised linker flags.
2+
%global build_ldflags %{sgug_optimised_ldflags}
3+
14
%global api_version 1.16
25

36
# do not mangle shebang in files which are part of bootstraped project

packages/bacula-client/SPECS/bacula-client.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This package is able to use optimised linker flags.
2+
%global build_ldflags %{sgug_optimised_ldflags}
3+
14
Summary: Bacula Client
25
Name: bacula-client
36
Version: 9.4.4

packages/bash-completion/SPECS/bash-completion.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This package is able to use optimised linker flags.
2+
%global build_ldflags %{sgug_optimised_ldflags}
3+
14
# Expected failures in mock, hangs in koji
25
%bcond_with tests
36
# The *.py files we ship are not python scripts, #813651

packages/bash/SPECS/bash.spec

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ BuildRequires: autoconf, gettext
9696
#Requires: filesystem >= 3
9797
Provides: %{_bindir}/sh
9898
Provides: %{_bindir}/bash
99+
# On Irix you'll get all kinds of broken behaviour without ncurses
100+
# supporting definitions
101+
Requires: ncurses-term
99102

100103
%description
101104
The GNU Bourne Again shell (Bash) is a shell or command language
@@ -130,10 +133,12 @@ rm y.tab.*
130133
autoconf
131134

132135
# DH
133-
#%configure --with-bash-malloc=no --with-afs
136+
#configure --with-bash-malloc=no --with-afs
134137
# Don't enable nls or curses, error when "exit 0" simple script run.
135138
# No clue where this is coming from yet.
136-
#configure --with-bash-malloc --enable-job-control --enable-nls --with-curses
139+
#export CFLAGS="-O0 -g"
140+
#export CXXFLAGS="$CFLAGS"
141+
#configure --with-bash-malloc --enable-job-control --enable-nls --with-curses --with-installed-readline
137142
%configure --with-bash-malloc --enable-job-control --disable-nls --without-curses
138143

139144
# Recycles pids is neccessary. When bash's last fork's pid was X

packages/binutils/SPECS/binutils.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This package is able to use optimised linker flags.
2+
%global build_ldflags %{sgug_optimised_ldflags}
3+
14

25
Summary: A GNU collection of binary utilities
36
Name: %{?cross}binutils%{?_with_debug:-debug}

packages/bison/SPECS/bison.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This package is able to use optimised linker flags.
2+
%global build_ldflags %{sgug_optimised_ldflags}
3+
14
Summary: A GNU general-purpose parser generator
25
Name: bison
36
Version: 3.4.1

packages/boost/SPECS/boost.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This package is able to use optimised linker flags.
2+
%global build_ldflags %{sgug_optimised_ldflags}
3+
14
# Support for documentation installation As the %%doc macro erases the
25
# target directory ($RPM_BUILD_ROOT%%{_docdir}/%%{name}), manually
36
# installed documentation must be saved into a temporary dedicated

0 commit comments

Comments
 (0)