Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
994f04f105 | ||
|
670bf1b5f7 | ||
|
90421fe102 |
30
STAGE2-redhat-rpm-config
Normal file
30
STAGE2-redhat-rpm-config
Normal file
@ -0,0 +1,30 @@
|
||||
#requires libtool
|
||||
|
||||
cd $SRC/redhat-rpm-config-*
|
||||
|
||||
# makefile has been removed :/
|
||||
# make install
|
||||
|
||||
RCCDIR=/usr/lib/rpm/redhat
|
||||
RPMCFGDIR=/usr/lib/rpm
|
||||
RPMFATTR=/usr/lib/rpm/fileattrs
|
||||
|
||||
mkdir -p /usr/lib/rpm/redhat
|
||||
install -p -m 644 -t $RCCDIR macros rpmrc
|
||||
install -p -m 444 -t $RCCDIR redhat-hardened-*
|
||||
install -p -m 755 -t $RCCDIR config.*
|
||||
install -p -m 755 -t $RCCDIR dist.sh rpmsort symset-table kmodtool
|
||||
install -p -m 755 -t $RCCDIR brp-*
|
||||
|
||||
install -p -m 755 -t $RCCDIR find-*
|
||||
mkdir -p $RCCDIR/find-provides.d
|
||||
install -p -m 644 -t $RCCDIR/find-provides.d firmware.prov modalias.prov
|
||||
|
||||
mkdir -p $RPMCFGDIR/macros.d
|
||||
install -p -m 644 -t $RPMCFGDIR/macros.d macros.*
|
||||
|
||||
mkdir -p $RPMFATTR
|
||||
install -p -m 644 -t $RPMFATTR *.attr
|
||||
install -p -m 755 -t $RPMCFGDIR kmod.prov
|
||||
|
||||
cp -p /usr/share/libtool/config/config.{guess,sub} $RCCDIR/
|
6
macros
6
macros
@ -91,7 +91,7 @@
|
||||
/usr/lib/rpm/brp-strip-comment-note %{__strip} %{__objdump} \
|
||||
} \
|
||||
/usr/lib/rpm/brp-strip-static-archive %{__strip} \
|
||||
/usr/lib/rpm/brp-python-bytecompile %{__python} %{?_python_bytecompile_errors_terminate_build} \
|
||||
%{?py_auto_byte_compile:/usr/lib/rpm/brp-python-bytecompile %{__python} %{?_python_bytecompile_errors_terminate_build}} \
|
||||
/usr/lib/rpm/brp-python-hardlink \
|
||||
%{!?__jar_repack:/usr/lib/rpm/redhat/brp-java-repack-jars} \
|
||||
%{nil}
|
||||
@ -112,6 +112,10 @@
|
||||
# Should missing buildids terminate a build?
|
||||
%_missing_build_ids_terminate_build 1
|
||||
|
||||
#
|
||||
## Automatically compile python files
|
||||
%py_auto_byte_compile 1
|
||||
|
||||
#
|
||||
## Should python bytecompilation errors terminate a build?
|
||||
%_python_bytecompile_errors_terminate_build 1
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
Summary: Red Hat specific rpm configuration files
|
||||
Name: redhat-rpm-config
|
||||
Version: 27
|
||||
Version: 29
|
||||
Release: 1%{?dist}
|
||||
# No version specified.
|
||||
License: GPL+
|
||||
@ -66,6 +66,7 @@ Requires: perl-srpm-macros
|
||||
Requires: ocaml-srpm-macros
|
||||
Requires: gnat-srpm-macros
|
||||
Requires: ghc-srpm-macros
|
||||
Requires: go-srpm-macros
|
||||
Requires: rpm >= 4.11.0
|
||||
Requires: dwz >= 0.4
|
||||
Requires: zip
|
||||
@ -135,6 +136,13 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
|
||||
%{_rpmconfigdir}/macros.d/macros.kmp
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2015 Florian Festi <ffesti@redhat.com> 29-1
|
||||
- Add Requires: go-srpm-macros (#1243922)
|
||||
|
||||
* Tue May 19 2015 Florian Festi <ffesti@redhat.com> 28-1
|
||||
- Add %py_auto_byte_compile macro controlling Python bytecompilation
|
||||
(#1222941)
|
||||
|
||||
* Wed Dec 10 2014 Dan Horák <dan[at]danny.cz> - 27-1
|
||||
- Explicitly set -mcpu/-mtune for ppc64p7 and ppc64le to override rpm defaults
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user