summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build_rpm.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_build_rpm.sh b/bin/reproducible_build_rpm.sh
index 6b4a92a3..2ef3d446 100755
--- a/bin/reproducible_build_rpm.sh
+++ b/bin/reproducible_build_rpm.sh
@@ -45,7 +45,9 @@ download_package() {
choose_package() {
echo "$(date -u ) - choosing package to be build."
local MIN_AGE=6
- for PKG in sudo git screen vim joe less rpm file ssh ; do
+ # instead of hardcoding the list of packages we can also use something like this to get a list of all packages:
+ # yumdownloader --urls --source --releasever=23 '*'
+ for PKG in bash bzip2 coreutils cpio diffutils fedora-release findutils gawk gcc gcc-c++ gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux util-linux which xz audit-libs audit-libs basesystem binutils bzip2-libs bzip2-libs ca-certificates chkconfig cpp cracklib cracklib cracklib-dicts crypto-policies curl cyrus-sasl-lib cyrus-sasl-lib dwz elfutils elfutils-default-yama-scope elfutils-libelf elfutils-libelf elfutils-libs elfutils-libs emacs-filesystem expat fedora-repos file file-libs filesystem gc gdb gdbm ghc-srpm-macros glib2 glib2 glibc glibc glibc-common glibc-devel glibc-headers gmp gmp gnat-srpm-macros gnupg2 gnutls go-srpm-macros groff-base guile isl kernel-headers keyutils-libs krb5-libs libacl libacl libarchive libassuan libatomic_ops libattr libattr libbabeltrace libblkid libblkid libcap libcap libcap-ng libcap-ng libcom_err libcurl libdb libdb libdb-utils libfdisk libfdisk libffi libffi libgcc libgcc libgcrypt libgcrypt libgomp libgpg-error libgpg-error libidn libidn libipt libksba libmetalink libmount libmount libmpc libmpc libnghttp2 libpwquality libseccomp libseccomp libsecret libselinux libselinux libsemanage libsepol libsmartcols libsmartcols libssh2 libstdc++ libstdc++ libstdc++-devel libtasn1 libtool-ltdl libunistring libuser libuser libutempter libutempter libuuid libuuid libverto libxml2 lua lzo mpfr mpfr ncurses ncurses-base ncurses-libs ncurses-libs nettle npth nspr nspr nss nss nss-softokn nss-softokn nss-softokn-freebl nss-softokn-freebl nss-sysinit nss-tools nss-util nss-util ocaml-srpm-macros openldap openldap openssl-libs p11-kit p11-kit-trust pam pam pcre pcre perl perl-Carp perl-Encode perl-Exporter perl-File-Path perl-File-Temp perl-Getopt-Long perl-HTTP-Tiny perl-MIME-Base64 perl-PathTools perl-Pod-Escapes perl-Pod-Perldoc perl-Pod-Simple perl-Pod-Usage perl-Scalar-List-Utils perl-Socket perl-Storable perl-Term-ANSIColor perl-Term-Cap perl-Text-ParseWords perl-Text-Tabs+Wrap perl-Time-HiRes perl-Time-Local perl-Unicode-Normalize perl-constant perl-generators perl-libs perl-macros perl-parent perl-podlators perl-srpm-macros perl-threads perl-threads-shared pinentry pkgconfig popt popt python3 python3-libs python3-pip python3-setuptools readline readline rpm rpm-build-libs rpm-libs rpm-plugin-selinux setup shared-mime-info sqlite sqlite systemd-libs systemd-libs tzdata ustr xz-libs xz-libs zip zlib zlib ; do
# build package if it has never build or at least $MIN_AGE days ago
if [ ! -d $BASE/rpm/$RELEASE/$ARCH/$PKG ] || [ ! -z $(find $BASE/rpm/$RELEASE/$ARCH/ -name $PKG -mtime +$MIN_AGE) ] ; then
SRCPACKAGE=$PKG