Compare commits

...

3 Commits
master ... f22

Author SHA1 Message Date
Jaromir Capik
994f04f105 Adding STAGE2 bootstrap recipe 2015-11-04 16:44:20 +01:00
Florian Festi
670bf1b5f7 - Add Requires: go-srpm-macros
- Resolves: #1243922
2015-07-17 15:11:48 +02:00
Florian Festi
90421fe102 - Add %py_auto_byte_compile macro controlling Python bytecompilation
(#1222941)
2015-05-19 15:31:41 +02:00
3 changed files with 44 additions and 2 deletions

30
STAGE2-redhat-rpm-config Normal file
View 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
View File

@ -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

View File

@ -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