Compare commits

..

No commits in common. "rawhide" and "f36" have entirely different histories.

2 changed files with 5 additions and 77 deletions

View file

@ -1,39 +0,0 @@
Avoid implicit int, a language feature not in C99. Future compilers
are likely to reject programs with implicit ints.
diff --git a/uread.c b/uread.c
index 111ac78c4fe38699..46611ebc5e729448 100644
--- a/uread.c
+++ b/uread.c
@@ -24,6 +24,7 @@ typedef union {
int i;
} swap;
+int
main(int argc, char *argv[])
{
int i, c, alph, ls, le;
diff --git a/ustrip.c b/ustrip.c
index 35ca6764f4aaa49f..3dfd71213f01b7f2 100644
--- a/ustrip.c
+++ b/ustrip.c
@@ -27,6 +27,7 @@ typedef union {
} swap;
+int
main(int argc, char *argv[])
{
int i, c, ls, le;
diff --git a/uswap.c b/uswap.c
index c171237acb2a7a33..f89af45c38ef46c9 100644
--- a/uswap.c
+++ b/uswap.c
@@ -22,6 +22,7 @@ typedef union {
int i[4];
} swap;
+int
main(int argc, char *argv[])
{
int i, j, k = 0, ls, le, s, zog;

View file

@ -2,10 +2,10 @@
Name: uread
Version: 0
Release: 0.37.%{stamp}%{?dist}
Release: 0.26.%{stamp}%{?dist}
Summary: Utilities for unformatted fortran files
License: GPL-1.0-or-later
License: GPL+
URL: http://www.engineers.auckland.ac.nz/~snor007/software.html#uread
Source0: uread-%{stamp}.tar.gz
# unversioned upstream source, downloaded with wget -N
@ -16,7 +16,6 @@ Source0: uread-%{stamp}.tar.gz
# his work under the GPL
Source1: uread-licence.email
#Patch0: uread-include_stdlib.diff
Patch1: uread-c99.patch
#BuildRequires:
#Requires:
@ -30,12 +29,13 @@ see the size of the data records, and to swap its endianess from big to
little, or vis versa.
%prep
%autosetup -p1 -n uread
%setup -q -n uread
#%patch0 -p1
cp -p %{SOURCE1} .
%build
export CFLAGS="$RPM_OPT_FLAGS -std=gnu17"
export CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
@ -56,39 +56,6 @@ install -m0755 uread ustrip uswap $RPM_BUILD_ROOT%{_bindir}/
%{_mandir}/man1/u*.1*
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.37.20081006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.36.20081006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.35.20081006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.34.20081006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.33.20081006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.32.20081006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.31.20081006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sun Mar 05 2023 Gwyn Ciesla <gwync@protonmail.com> - 0-0.30.20081006
- migrated to SPDX license
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.29.20081006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Dec 2 2022 Florian Weimer <fweimer@redhat.com> - 0-0.28.20081006
- Port to C99 (#2150291)
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.27.20081006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.26.20081006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild