Unverified Commit 310df45f authored by Louis Abel's avatar Louis Abel 📺
Browse files

initial

parents
%global _el_version el8_3
Name: buildsys-macros-el8
Summary: Macros for the Buildsystem
Version: 3.0
Release: 0.%{_el_version}
License: GPL
Group: Development/Buildsystem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
This particular package contains the macros needed for the buildsys for Rocky 8.
%prep
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/etc/rpm/
VERSION=%{version}
printf %s%b "%" "rhel 8\n" >> %{buildroot}/etc/rpm/macros.disttag
printf %s%b "%" "rocky 8\n" >> %{buildroot}/etc/rpm/macros.disttag
printf %s%b "%" "centos 8\n" >> %{buildroot}/etc/rpm/macros.disttag
printf %s%b "%" "dist .%{_el_version}\n" >> %{buildroot}/etc/rpm/macros.disttag
printf %s%b "%" "el8 1\n" >> %{buildroot}/etc/rpm/macros.disttag
printf %s%b "%" "__arch_install_post /usr/lib/rpm/check-buildroot\n" >> %{buildroot}/etc/rpm/macros.checkbuild
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
/etc/rpm/macros.disttag
/etc/rpm/macros.checkbuild
%changelog
* Sat Feb 27 2021 Louis Abel <label@rockylinux.org> - 3.0-0.
- Initial build for Rocky 8
- Keep centos 8 until 8.4
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment