Initial import

This commit is contained in:
Orion Poplawski 2017-03-20 13:28:38 -06:00
parent e2968e8516
commit 3736d86067
2 changed files with 34 additions and 0 deletions

2
macros.openblas-srpm Normal file
View File

@ -0,0 +1,2 @@
# Architectures that OpenBLAS supports
%openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64

32
openblas-srpm-macros.spec Normal file
View File

@ -0,0 +1,32 @@
Name: openblas-srpm-macros
Version: 1
Release: 1%{?dist}
Summary: OpenBLAS architecture macros
Group: Development/Libraries
License: MIT
Source0: macros.openblas-srpm
BuildArch: noarch
%description
%{summary}.
%prep
%build
%install
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
mkdir -p %{buildroot}%{macrosdir}
install -m0644 %SOURCE0 %{buildroot}%{macrosdir}/macros.openblas-srpm
%files
%{macrosdir}/macros.openblas-srpm
%changelog
* Mon Mar 20 2017 Orion Poplawski <orion@cora.nwra.com> - 1-1
- Initial package