Compare commits

..

No commits in common. "c9-beta" and "c8" have entirely different histories.
c9-beta ... c8

4 changed files with 29 additions and 39 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/rpcsvc-proto-1.4.tar.xz
SOURCES/rpcsvc-proto-1.3.1.tar.gz

View File

@ -1 +1 @@
e986a8077f9b2581f284d2e049d4d9be7a18bd85 SOURCES/rpcsvc-proto-1.4.tar.xz
089db6c72f2471071527a79355a75e9a092b761f SOURCES/rpcsvc-proto-1.3.1.tar.gz

View File

@ -0,0 +1,20 @@
Index: rpcsvc-proto-1.3.1/rpcgen/rpc_main.c
===================================================================
--- rpcsvc-proto-1.3.1.orig/rpcgen/rpc_main.c
+++ rpcsvc-proto-1.3.1/rpcgen/rpc_main.c
@@ -1346,15 +1346,6 @@ parseargs (int argc, const char *argv[],
cmd->Scflag = flag['C'];
cmd->makefileflag = flag['M'];
-#ifndef _RPC_THREAD_SAFE_
- if (mtflag || newstyle)
- {
- /* glibc doesn't support these flags. */
- f_print (stderr,
- _("This implementation doesn't support newstyle or MT-safe code!\n"));
- return (0);
- }
-#endif
if (tirpcflag)
{
pmflag = inetdflag ? 0 : 1; /* pmflag or inetdflag is always TRUE */

View File

@ -17,18 +17,19 @@
Name: rpcsvc-proto
Version: 1.4
Release: 9%{?dist}
Version: 1.3.1
Release: 4%{?dist}
Summary: RPC protocol definitions
License: BSD and LGPLv2+
Url: https://github.com/thkukuk/rpcsvc-proto
Source0: https://github.com/thkukuk/rpcsvc-proto/releases/v%{version}/%{name}-%{version}.tar.xz
Source0: https://github.com/thkukuk/rpcsvc-proto/archive/v%{version}/%{name}-%{version}.tar.gz
# Enable MT code as libtirpc supports it.
Patch0: rpcsvc-proto-1.3.1-enable_MT_code.patch
Conflicts: glibc-headers < 2.26.9000-36
Conflicts: glibc-common < 2.26.9000-36
BuildRequires: make
BuildRequires: gcc
BuildRequires: automake, autoconf
%description
@ -57,6 +58,7 @@ The input to rpcgen is a language similar to C known as RPC Language
%autosetup -p 1
%build
./autogen.sh
%configure
%make_build
@ -75,38 +77,6 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
%{_mandir}/man1/rpcgen.1*
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-8
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue May 29 2018 Steve Dickson <steved@redhat.com> 1.4-0
- Updated to the latest upstream release: v1.4 (bz 1559181)
* Tue Mar 27 2018 Björn Esser <besser82@fedoraproject.org> - 1.3.1-4
- Enable MT code as libtirpc supports it