Add %_configure_disable_silent_rules
Adds %_configure_disable_silent_rules, defaulting to 0, to optionally enable the passing of --disable-silent-rules to configure scripts.
This commit is contained in:
parent
4824deaead
commit
a0145ecd2f
2
macros
2
macros
@ -26,6 +26,7 @@
|
|||||||
#
|
#
|
||||||
%_configure_gnuconfig_hack 1
|
%_configure_gnuconfig_hack 1
|
||||||
%_configure_libtool_hardening_hack 1
|
%_configure_libtool_hardening_hack 1
|
||||||
|
%_configure_disable_silent_rules 0
|
||||||
%configure \
|
%configure \
|
||||||
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
||||||
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
||||||
@ -42,6 +43,7 @@
|
|||||||
%{_configure} --build=%{_build} --host=%{_host} \\\
|
%{_configure} --build=%{_build} --host=%{_host} \\\
|
||||||
--program-prefix=%{?_program_prefix} \\\
|
--program-prefix=%{?_program_prefix} \\\
|
||||||
--disable-dependency-tracking \\\
|
--disable-dependency-tracking \\\
|
||||||
|
%{?_configure_disable_silent_rules:--disable-silent-rules} \\\
|
||||||
--prefix=%{_prefix} \\\
|
--prefix=%{_prefix} \\\
|
||||||
--exec-prefix=%{_exec_prefix} \\\
|
--exec-prefix=%{_exec_prefix} \\\
|
||||||
--bindir=%{_bindir} \\\
|
--bindir=%{_bindir} \\\
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 45
|
Version: 46
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
@ -144,6 +144,10 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
|
|||||||
%{_rpmconfigdir}/macros.d/macros.kmp
|
%{_rpmconfigdir}/macros.d/macros.kmp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 03 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 46-1
|
||||||
|
- Allow %%configure to optionally pass --disable-silent-rules. Define
|
||||||
|
%%_configure_disable_silent_rules (defaulting to 0) to control this.
|
||||||
|
|
||||||
* Wed Sep 14 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 45-1
|
* Wed Sep 14 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 45-1
|
||||||
- Add dependency on qt5-srpm-macros.
|
- Add dependency on qt5-srpm-macros.
|
||||||
|
|
||||||
|
1
rpmlint.cf
Normal file
1
rpmlint.cf
Normal file
@ -0,0 +1 @@
|
|||||||
|
addFilter("no-%build-section")
|
Loading…
Reference in New Issue
Block a user