define %with_ghc_prof and %with_haddock
needed for doc and prof subpackages
This commit is contained in:
parent
84aa261629
commit
869ad66ecd
@ -4,8 +4,8 @@
|
||||
%global macros_dir %{_rpmconfigdir}/macros.d
|
||||
|
||||
Name: ghc-srpm-macros
|
||||
Version: 1.4.2
|
||||
Release: 10%{?dist}
|
||||
Version: 1.5
|
||||
Release: 1%{?dist}
|
||||
Summary: RPM macros for building Haskell source packages
|
||||
|
||||
License: GPLv2+
|
||||
@ -35,6 +35,9 @@ install -p -D -m 0644 %{SOURCE0} %{buildroot}/%{macros_dir}/macros.ghc-srpm
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Aug 3 2019 Jens Petersen <petersen@redhat.com> - 1.5-1
|
||||
- set %%with_ghc_prof and %%with_haddock
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
@ -7,3 +7,9 @@
|
||||
# ghc_arches is not used in current packages but still here for back compat
|
||||
# former archs: alpha ppc sparcv9 armv5tel
|
||||
%ghc_arches %{ix86} x86_64 armv7hl ppc64 ppc64le aarch64 s390 s390x
|
||||
|
||||
# enable profiling libraries in prof subpkgs
|
||||
%with_ghc_prof 1
|
||||
|
||||
# enable library documentation in doc subpkgs
|
||||
%with_haddock 1
|
||||
|
Loading…
Reference in New Issue
Block a user