Make package not noarch (bug )

This commit is contained in:
Christoph Junghans 2020-10-16 20:10:26 -06:00
parent 147cdb2562
commit ac86ffa9b5

View File

@ -1,12 +1,10 @@
# The (empty) main package is arch, to have the package built and tests run
# on all arches, but the actual result package is the noarch -devel subpackge.
# Debuginfo packages are disabled to prevent rpmbuild from generating an empty
# debuginfo package for the empty main package.
%global debug_package %{nil}
Name: cereal
Version: 1.3.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A header-only C++11 serialization library
License: BSD
Url: http://uscilab.github.io/cereal/
@ -25,7 +23,7 @@ easily bundled with other code or used standalone.
%package devel
Summary: Development headers and libraries for %{name}
BuildArch: noarch
Provides: %{name}-static = %{version}-%{release}
%description devel
cereal is a header-only C++11 serialization library. cereal takes arbitrary
@ -57,6 +55,9 @@ This package contains development headers and libraries for the cereal library
%{_datadir}/cmake/%{name}
%changelog
* Sat Oct 17 2020 Christoph Junghans <junghans@votca.org> - 1.3.0-6
- Make package not noarch (bug #1888969)
* Mon Aug 03 2020 Christoph Junghans <junghans@votca.org> - 1.3.0-5
- Fix out-of-source build on F33 (bug #1863317)