buildsys-macros-el8.spec 1.25 KB
Newer Older
Louis Abel's avatar
initial  
Louis Abel committed
1
2
Name:       buildsys-macros-el8
Summary:    Macros for the Buildsystem
Louis Abel's avatar
Louis Abel committed
3
Version:    3.2
Louis Abel's avatar
Louis Abel committed
4
Release:    3.rocky
Louis Abel's avatar
initial  
Louis Abel committed
5
6
7
8
9
10
11
12
13
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
Louis Abel's avatar
updates    
Louis Abel committed
14

Louis Abel's avatar
initial  
Louis Abel committed
15
%build
Louis Abel's avatar
updates    
Louis Abel committed
16

Louis Abel's avatar
initial  
Louis Abel committed
17
18
19
20
21
22
23
%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
Louis Abel's avatar
Louis Abel committed
24
printf %s%b "%" "dist .el8_2\n" >> %{buildroot}/etc/rpm/macros.disttag
Louis Abel's avatar
initial  
Louis Abel committed
25
26
27
28
29
30
31
32
33
34
35
36
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
Louis Abel's avatar
Louis Abel committed
37
* Sat May 01 2021 Louis Abel <label@rockylinux.org> - 3.2-3.rocky
Louis Abel's avatar
Louis Abel committed
38
- Resetting dist tag over time to bring packages inline
Louis Abel's avatar
Louis Abel committed
39
40

* Sat Feb 27 2021 Louis Abel <label@rockylinux.org> - 3.1-0.rocky
Louis Abel's avatar
initial  
Louis Abel committed
41
42
- Initial build for Rocky 8
- Keep centos 8 until 8.4
Louis Abel's avatar
updates    
Louis Abel committed
43
- Remove el8_3