diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..b350c84 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* ip"); diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index f126b62..0000000 --- a/gating.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- !Policy -product_versions: - - fedora-rawhide -decision_context: bodhi_update_push_stable -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_stable -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} diff --git a/sources b/sources index cc184bd..ad1c44f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vlan.1.9.tar.gz) = 7602679c1f1569d1742da37062213fea3a14b875bec9c41fc6b10c28a09a312db80f6eae4a8641a1892946545b2b4ef4699e61fddd8514469970e334a9dab0c5 +5f0c6060b33956fb16e11a15467dd394 vlan.1.9.tar.gz diff --git a/vconfig.rpmlintrc b/vconfig.rpmlintrc deleted file mode 100644 index 89b85e7..0000000 --- a/vconfig.rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -addFilter('spelling-error .* ip') diff --git a/vconfig.spec b/vconfig.spec index 2bca8fc..26c12e1 100644 --- a/vconfig.spec +++ b/vconfig.spec @@ -1,23 +1,13 @@ Name: vconfig Version: 1.9 -Release: 43%{?dist} +Release: 16%{?dist} Summary: Linux 802.1q VLAN configuration utility -# candela_2.4.21.patch: GPL-2.0-or-later -# contrib/vlan_2.2-full.patch: GPL-2.0-or-later -# contrib/vlan_2.2-module.patch: GPL-2.0-or-later -# howto.html: "part of the Linux HOWTO project", "see [...] GNU GPL 0.1.1" -# macvlan_config.c: GPL-2.0-or-later -# vconfig.c: GPL-2.0-or-later -# vlan_2.2.patch: GPL-2.0-or-later -License: GPL-2.0-or-later -URL: https://www.candelatech.com/~greear/vlan.html -# The URL now returns a bogus file full of zeros -Source: https://www.candelatech.com/~greear/vlan/vlan.%{version}.tar.gz +License: GPLv2+ +Group: System Environment/Base +URL: http://www.candelatech.com/~greear/vlan.html +Source: http://www.candelatech.com/~greear/vlan/vlan.%{version}.tar.gz # Fix a security warning by compiler, bug #1037376 Patch0: %{name}-1.9-Pass-compilation-with-Werror-format-security.patch -BuildRequires: coreutils -BuildRequires: gcc -BuildRequires: make %description The vconfig program configures and adjusts 802.1q VLAN parameters. @@ -25,12 +15,12 @@ This tool is deprecated in favor of "ip link" command. %prep %setup -q -n vlan -%patch -P0 -p1 -b .warning +%patch0 -p1 -b .warning %build make clean rm -f vconfig -make CCFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}" STRIP=/bin/true vconfig +make CCFLAGS="%{optflags}" STRIP=/bin/true vconfig %install install -D -m755 vconfig ${RPM_BUILD_ROOT}%{_sbindir}/vconfig @@ -42,88 +32,6 @@ install -D -m644 vconfig.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/vconfig.8 %{_mandir}/man8/vconfig.8* %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 1.9-43 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Sat Jan 17 2026 Fedora Release Engineering - 1.9-42 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jul 25 2025 Fedora Release Engineering - 1.9-41 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Wed Jun 18 2025 Petr Pisar - 1.9-40 -- Update URLs to use HTTPS - -* Sun Jan 19 2025 Fedora Release Engineering - 1.9-39 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Fri Jul 26 2024 Miroslav Suchý - 1.9-38 -- convert license to SPDX - -* Sat Jul 20 2024 Fedora Release Engineering - 1.9-37 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 1.9-36 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 1.9-35 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jan 21 2023 Fedora Release Engineering - 1.9-34 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 1.9-33 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 1.9-32 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Tue Jul 27 2021 Fedora Release Engineering - 1.9-31 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 1.9-30 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 1.9-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 1.9-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 1.9-27 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 03 2019 Fedora Release Engineering - 1.9-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 1.9-25 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Mar 07 2018 Petr Pisar - 1.9-24 -- Modernize spec file - -* Fri Feb 23 2018 Florian Weimer - 1.9-23 -- Use LDFLAGS from redhat-rpm-config - -* Fri Feb 09 2018 Fedora Release Engineering - 1.9-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 1.9-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 1.9-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 1.9-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Feb 05 2016 Fedora Release Engineering - 1.9-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jun 19 2015 Fedora Release Engineering - 1.9-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - * Mon Aug 18 2014 Fedora Release Engineering - 1.9-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild