Blame SPECS/buildsys-macros-el8.spec

1a4c19
862eb3
%global _el_version el8
1a4c19
 
f2c865
Name:       buildsys-macros-el8
1a4c19
Summary:    Macros for the Buildsystem
1a4c19
Version:    1.0
f2c865
Release:    2.%{_el_version}
1a4c19
License:    GPL
1a4c19
Group:      Development/Buildsystem
1a4c19
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1a4c19
BuildArch:  noarch
1a4c19
 
1a4c19
%description
1a4c19
This particular package contains the macros needed for the buildsys for CentOS el8.
1a4c19
 
1a4c19
%prep
1a4c19
 
1a4c19
%build
1a4c19
 
1a4c19
%install
1a4c19
rm -rf %{buildroot}
1a4c19
mkdir -p %{buildroot}/etc/rpm/
1a4c19
VERSION=%{version}
1a4c19
printf %s%b "%" "rhel 8\n" >> %{buildroot}/etc/rpm/macros.disttag
1a4c19
printf %s%b "%" "centos 8\n" >> %{buildroot}/etc/rpm/macros.disttag
1a4c19
printf %s%b "%" "dist .%{_el_version}\n" >> %{buildroot}/etc/rpm/macros.disttag
1a4c19
printf %s%b "%" "el8 1\n" >> %{buildroot}/etc/rpm/macros.disttag
1a4c19
printf %s%b "%" "__arch_install_post /usr/lib/rpm/check-buildroot\n" >> %{buildroot}/etc/rpm/macros.checkbuild
1a4c19
 
1a4c19
%clean
1a4c19
rm -rf %{buildroot}
1a4c19
 
1a4c19
%files
1a4c19
%defattr(-,root,root)
1a4c19
/etc/rpm/macros.disttag
1a4c19
/etc/rpm/macros.checkbuild
1a4c19
 
1a4c19
%changelog
f2c865
* Wed Jun 26 2019 Brian Stinson <brian@bstinson.com> - el8-1.0-1.el8_0
f2c865
- change to the same package name
f2c865
8088c8
* Tue May 21 2019 Brian Stinson <brian@bstinson.com> - el8_0-1.0-1
8088c8
- build the el8_0 macros 
8088c8
1a4c19
* Sat May 04 2019 Brian Stinson <brian@bstinson.com> - 1.0-1
1a4c19
- rebuilt
1a4c19
1a4c19
* Fri Mar 22 2019 Brian Stinson 
1a4c19
- Initial Centos build.