Skip to content

Commit dd834e3

Browse files
authored
Merge pull request #138 from sgidevnet/wipnonautomated
Final changes discovered during the 0.0.6 rebuilds
2 parents ea8d1ad + 8e6ae13 commit dd834e3

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

packages/groff/SPECS/groff.spec

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Summary: A document formatting system
44
Name: groff
55
Version: 1.22.4
6-
Release: 22%{?dist}
6+
Release: 23%{?dist}
77
License: GPLv3+ and GFDL and BSD and MIT
88
URL: http://www.gnu.org/software/groff/
99
Source: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
@@ -108,6 +108,8 @@ for file in NEWS src/devices/grolbp/grolbp.1.man doc/webpage.ms \
108108
done
109109

110110
%build
111+
# Avoid sharing config cache entries (causes problems)
112+
export CPPFLAGS="-DGROFF_HAVE_UNIQ_CONFIG_CACHE"
111113
%configure \
112114
--docdir=%{_pkgdocdir} \
113115
--with-appresdir=%{_datadir}/X11/app-defaults \
@@ -429,6 +431,9 @@ chmod 755 %{buildroot}%{_datadir}/groff/%{version}/font/devlj4/generate/special.
429431
%doc %{_pkgdocdir}/pdf/
430432

431433
%changelog
434+
* Thu Aug 06 2020 Daniel Hams <[email protected]> - 1.22.4-23
435+
- Use a standalone config cache for groff - otherwise the X11 pieces are missing and the build will fail.
436+
432437
* Fri Apr 10 2020 Daniel Hams <[email protected]> - 1.22.4-22
433438
- Move over to sgug-rse libX11
434439

packages/redhat-rpm-config/SOURCES/brp-mangle-shebangs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ while IFS= read -r -d $'\0' f; do
131131
# If the shebang has a /usr/bin/perl point at the sgug one
132132
shebang=$(echo "$shebang" | sed -r -e 's@^/usr/bin/perl@/usr/sgug/bin/perl@')
133133

134+
# If the shebang has a /usr/bin/python point at the sgug one
135+
shebang=$(echo "$shebang" | sed -r -e 's@^/usr/bin/python@/usr/sgug/bin/python@')
136+
134137
# Replace ambiguous python with python3
135138
py_shebang=$(echo "$shebang" | sed -r -e 's@/usr/sgug/bin/python(\s|$)@/usr/sgug/bin/python3\1@')
136139

packages/redhat-rpm-config/SPECS/redhat-rpm-config.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Summary: Red Hat specific rpm configuration files
88
Name: redhat-rpm-config
99
Version: 143
10-
Release: 5%{?dist}
10+
Release: 6%{?dist}
1111
# No version specified.
1212
License: GPL+
1313
URL: https://src.fedoraproject.org/rpms/redhat-rpm-config
@@ -211,6 +211,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
211211
#%%{_rpmconfigdir}/macros.d/macros.kmp
212212

213213
%changelog
214+
* Sat Aug 01 2020 Daniel Hams <[email protected]> - 143-6
215+
- And add python to the rewrites
216+
214217
* Thu Jul 23 2020 Daniel Hams <[email protected]> - 143-5
215218
- Fix the broken shebang mangling so that /usr/bin/perl is rewritten too
216219

0 commit comments

Comments
 (0)