amoralej / centos / cbs-tools

Forked from centos/cbs-tools 2 years ago
Blob Blame History Raw
%global _el_version el7
%global _el_sub .buildsys

Name:       buildsys-macros-%{_el_version}
Summary:    Macros for the Buildsystem
Version:    1.0
Release:    0%{dist}
License:    GPL
Group:      Development/Buildsystem
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:  noarch

This particular package contains the macros needed for the buildsys for Centos el7.



rm -rf %{buildroot}
mkdir -p %{buildroot}/etc/rpm/
printf %s%b "%" "rhel 7\n" >> %{buildroot}/etc/rpm/macros.disttag
printf %s%b "%" "dist .%{_el_version}\n" >> %{buildroot}/etc/rpm/macros.disttag
printf %s%b "%" "el7 1\n" >> %{buildroot}/etc/rpm/macros.disttag
printf %s%b "%" "__arch_install_post /usr/lib/rpm/check-buildroot\n" >> %{buildroot}/etc/rpm/macros.checkbuild

rm -rf %{buildroot}


* Tue Jul 08 2014 Thomas 'alphacc' Oulevey <>
- Initial Centos build.