|
|
@ -4,8 +4,8 @@
|
|
|
|
%bcond tests 1
|
|
|
|
%bcond tests 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: forge-srpm-macros
|
|
|
|
Name: forge-srpm-macros
|
|
|
|
Version: 0.2.0
|
|
|
|
Version: 0.3.0
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Macros to simplify packaging of forge-hosted projects
|
|
|
|
Summary: Macros to simplify packaging of forge-hosted projects
|
|
|
|
|
|
|
|
|
|
|
|
License: GPL-1.0-or-later
|
|
|
|
License: GPL-1.0-or-later
|
|
|
@ -21,12 +21,14 @@ BuildRequires: python3-pyyaml
|
|
|
|
# For %%pytest definition
|
|
|
|
# For %%pytest definition
|
|
|
|
BuildRequires: python3-rpm-macros
|
|
|
|
BuildRequires: python3-rpm-macros
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# We require macros and lua defined in redhat-rpm-config
|
|
|
|
# We require macros and lua defined in redhat-rpm-config
|
|
|
|
# We constrain this to the version released after the code was split out that
|
|
|
|
# We constrain this to the version released after the code was split out that
|
|
|
|
# doesn't contain the same files.
|
|
|
|
# doesn't contain the same files.
|
|
|
|
|
|
|
|
|
|
|
|
%if (0%{?fedora} >= 40 || 0%{?rhel} >= 10)
|
|
|
|
%if (0%{?fedora} >= 40 || 0%{?rhel} >= 10)
|
|
|
|
Requires: redhat-rpm-config >= 266-1
|
|
|
|
Requires: redhat-rpm-config >= 266-1
|
|
|
|
|
|
|
|
%elif 0%{?fedora} == 39
|
|
|
|
|
|
|
|
Requires: redhat-rpm-config >= 265-1
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
# For testing purposes on older releases,
|
|
|
|
# For testing purposes on older releases,
|
|
|
|
# we can depend on any version of redhat-rpm-config.
|
|
|
|
# we can depend on any version of redhat-rpm-config.
|
|
|
@ -42,8 +44,16 @@ Requires: redhat-rpm-config
|
|
|
|
%autosetup -n %{name}-v%{version}
|
|
|
|
%autosetup -n %{name}-v%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%if %{defined el9}
|
|
|
|
|
|
|
|
%make_build epel9-build
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install RPMMACRODIR=%{_rpmmacrodir} RPMLUADIR=%{_rpmluadir}
|
|
|
|
%make_build \
|
|
|
|
|
|
|
|
DESTDIR=%{buildroot} \
|
|
|
|
|
|
|
|
RPMMACRODIR=%{_rpmmacrodir} RPMLUADIR=%{_rpmluadir} %{?el9:epel9-}install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -57,16 +67,22 @@ export MACRO_LUA_DIR="%{buildroot}%{_rpmluadir}"
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license LICENSES/GPL-1.0-or-later.txt
|
|
|
|
%license LICENSES/GPL-1.0-or-later.txt
|
|
|
|
%doc README.md NEWS.md
|
|
|
|
%doc README.md NEWS.md
|
|
|
|
%{_rpmmacrodir}/macros.forge
|
|
|
|
%if %{undefined el9}
|
|
|
|
%{_rpmluadir}/fedora/srpm/forge.lua
|
|
|
|
%{_rpmluadir}/fedora/srpm/forge.lua
|
|
|
|
|
|
|
|
%{_rpmmacrodir}/macros.forge
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%{_rpmluadir}/fedora/srpm/forge_epel.lua
|
|
|
|
|
|
|
|
%{_rpmmacrodir}/macros.zzz-forge_epel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%{_rpmluadir}/fedora/srpm/_forge_util.lua
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.2.0-4
|
|
|
|
* Thu Apr 04 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.0-1
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.2.0-4
|
|
|
|
* Sat Mar 2 2024 Maxwell G <maxwell@gtmx.me> - 0.3.0-1
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
- Update to 0.3.0.
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-3
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|