Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

9 changed files with 163 additions and 92 deletions

4
.gitignore vendored
View File

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

View File

@ -1 +0,0 @@
089db6c72f2471071527a79355a75e9a092b761f SOURCES/rpcsvc-proto-1.3.1.tar.gz

View File

@ -1,90 +0,0 @@
#
# spec file for package rpcsvc-proto
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: rpcsvc-proto
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/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: automake, autoconf
%description
The rpcsvc-proto package includes several rpcsvc header files
and RPC protocol definitions from SunRPC sources (as shipped with
glibc).
%package devel
Summary: RPC protocol definitions
%description devel
The rpcsvc-proto package includes several rpcsvc header files
and RPC protocol definitions from SunRPC sources (as shipped with
glibc).
%package -n rpcgen
Summary: RPC protocol compiler
Provides: rpcgen
%description -n rpcgen
rpcgen is a tool that generates C code to implement an RPC protocol.
The input to rpcgen is a language similar to C known as RPC Language
(Remote Procedure Call Language).
%prep
%autosetup -p 1
%build
./autogen.sh
%configure
%make_build
%install
%make_install
# rquota.x and rquota.h are provided by quota
rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
%files devel
%license COPYING
%{_includedir}/rpcsvc/
%files -n rpcgen
%{_bindir}/rpcgen
%{_mandir}/man1/rpcgen.1*
%changelog
* Tue Mar 27 2018 Björn Esser <besser82@fedoraproject.org> - 1.3.1-4
- Enable MT code as libtirpc supports it
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Jan 23 2018 Steve Dickson <steved@redhat.com> 1.3.1-2
- Remove rquota.[hx] headers which are provided by quota (bz 1537133)
* Wed Jan 17 2018 Steve Dickson <steved@redhat.com> 1.3.1-1
- Initial commit (bz 1532364)

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

140
rpcsvc-proto.spec Normal file
View File

@ -0,0 +1,140 @@
#
# spec file for package rpcsvc-proto
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: rpcsvc-proto
Version: 1.4
Release: 16%{?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
Conflicts: glibc-headers < 2.26.9000-36
Conflicts: glibc-common < 2.26.9000-36
BuildRequires: make
BuildRequires: gcc
BuildRequires: automake, autoconf
%description
The rpcsvc-proto package includes several rpcsvc header files
and RPC protocol definitions from SunRPC sources (as shipped with
glibc).
%package devel
Summary: RPC protocol definitions
%description devel
The rpcsvc-proto package includes several rpcsvc header files
and RPC protocol definitions from SunRPC sources (as shipped with
glibc).
%package -n rpcgen
Summary: RPC protocol compiler
Provides: rpcgen
%description -n rpcgen
rpcgen is a tool that generates C code to implement an RPC protocol.
The input to rpcgen is a language similar to C known as RPC Language
(Remote Procedure Call Language).
%prep
%autosetup -p 1
%build
%configure
%make_build
%install
%make_install
# rquota.x and rquota.h are provided by quota
rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
%files devel
%license COPYING
%{_includedir}/rpcsvc/
%files -n rpcgen
%{_bindir}/rpcgen
%{_mandir}/man1/rpcgen.1*
%changelog
* Thu Aug 1 2024 Steve Dickson <steved@redhat.com> 1.4-16
- Initial the rhel-10 gating tests (RHEL-45007)
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4-15
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* 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
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Jan 23 2018 Steve Dickson <steved@redhat.com> 1.3.1-2
- Remove rquota.[hx] headers which are provided by quota (bz 1537133)
* Wed Jan 17 2018 Steve Dickson <steved@redhat.com> 1.3.1-1
- Initial commit (bz 1532364)

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (rpcsvc-proto-1.4.tar.xz) = c3011d7d7ef97a4a751f6921df1a23e1dd8ac50fb0690c759d37010ed7be27968a2130e3b8872cb48d5914216f9d539096a424f1ec38a75f7ed899748151c6f4

2
tests/scripts/runtest.sh Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/bash
rpcgen --version

11
tests/tests.yml Normal file
View File

@ -0,0 +1,11 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: scripts
run: ./runtest.sh
required_packages:
- rpcgen