X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm.git;a=blobdiff_plain;f=rpm.spec;h=10fa7dece31cb23a405877c5fb4c8a236c8038a8;hp=a9f12ae2f4746b0fcc6b75f18259834c87ec7770;hb=97ff017af2287a26f9199a0b5e553776a3939ca9;hpb=441cea0a613403f6d5cec6d7263e0eda529ddf8f diff --git a/rpm.spec b/rpm.spec index a9f12ae..10fa7de 100644 --- a/rpm.spec +++ b/rpm.spec @@ -7,25 +7,37 @@ # tags (incl. digest) and writes whole package to destination file; # repackaging uses unchanged "immutable header" image from original rpm, also # preserving payload format and compressor from original rpm, _not_ current settings +# - TODO: add macros for some ppc, mipsel, alpha and sparc # # Conditional build: %bcond_with static # build static rpm+rpmi -%bcond_without apidocs # don't generate documentation with doxygen %bcond_with autoreqdep # autogenerate package name deps in addition to sonames/perl(X) %bcond_without python # don't build python bindings %bcond_without selinux # build without selinux support -%bcond_without system_libmagic # don't use system libmagic %bcond_without suggest_tags # build without Suggest tag (bootstrapping) %bcond_with neon # build with HTTP/WebDAV support (neon library) +%bcond_without db # BerkeleyDB +%bcond_with sqlite # build with SQLite support +%bcond_with sqlite_dbapi # default database backend is sqlite # force_cc - force using __cc other than "%{_target_cpu}-pld-linux-gcc" # force_cxx - force using __cxx other than "%{_target_cpu}-pld-linux-g++" # force_cpp - force using __cpp other than "%{_target_cpu}-pld-linux-gcc -E" +# +%if %{with sqlite_dbapi} +%define with_sqlite 1 +%endif +%if %{without db} && %{without sqlite} +%{error:Need db or sqlite} +ERROR +%endif + +# # versions of required libraries -%define reqdb_ver 4.5.20 +%define reqdb_ver 4.6.18 %define reqpopt_ver 1.10.8 %define beecrypt_ver 2:4.1.2-4 -%define sover 4.4 +%define sover 5.0 Summary: RPM Package Manager Summary(de.UTF-8): RPM Packet-Manager Summary(es.UTF-8): Gestor de paquetes RPM @@ -34,12 +46,12 @@ Summary(pt_BR.UTF-8): Gerenciador de pacotes RPM Summary(ru.UTF-8): Менеджер пакетов от RPM Summary(uk.UTF-8): Менеджер пакетів від RPM Name: rpm -Version: 4.4.9 -Release: 0.4 +Version: 5.0.0 +Release: 0.1 License: GPL Group: Base -Source0: http://rpm5.org/files/rpm/rpm-4.4/%{name}-%{version}.tar.gz -# Source0-md5: 210b768006e7d88dd8a3bcd498ea27f6 +Source0: http://rpm5.org/files/rpm/rpm-5.0/%{name}-%{version}.tar.gz +# Source0-md5: 4866053828c7258213f5711f3ca1dcd5 Source1: %{name}.groups Source2: %{name}.platform Source3: %{name}-install-tree @@ -56,44 +68,46 @@ Source13: %{name}-user_group.sh Source14: %{name}.sysconfig Source15: %{name}-macros.java Source16: %{name}-java-requires -Source30: builder -Source31: adapter.awk -Source32: pldnotify.awk # http://svn.pld-linux.org/banner.sh/ -Source33: banner.sh +Source17: banner.sh +Source18: %{name}-pld.macros + +Source100: %{name}-macros-athlon +Source101: %{name}-macros-i386 +Source102: %{name}-macros-i486 +Source103: %{name}-macros-i586 +Source104: %{name}-macros-i686 +Source105: %{name}-macros-noarch +Source106: %{name}-macros-pentium3 +Source107: %{name}-macros-pentium4 +Source108: %{name}-macros-ppc +Source109: %{name}-macros-x86_64 +Source110: %{name}-macros-ia32e +Source111: %{name}-macros-amd64 + Patch0: %{name}-pl.po.patch -Patch1: %{name}-rpmrc.patch -Patch2: %{name}-arch.patch +Patch1: %{name}-man_pl.patch Patch3: %{name}-rpmpopt.patch Patch4: %{name}-perl-macros.patch Patch5: %{name}-perl-req-perlfile.patch Patch6: %{name}-noexpand.patch Patch7: %{name}-scripts-closefds.patch -Patch8: %{name}-python-macros.patch +Patch8: %{name}-php-macros.patch Patch9: %{name}-gettext-in-header.patch Patch10: %{name}-compress-doc.patch -Patch11: %{name}-Nmalloc.patch -Patch12: %{name}-system_libs.patch -Patch13: %{name}-bb-and-short-circuit.patch + Patch14: %{name}-etc_dir.patch -Patch15: %{name}-system_libs-more.patch Patch16: %{name}-php-deps.patch -Patch17: %{name}-ldconfig-always.patch + Patch18: %{name}-perl_req.patch -Patch19: %{name}-link.patch -Patch20: %{name}-magic-usesystem.patch -Patch21: %{name}-dontneedutils.patch -Patch22: %{name}-provides-dont-obsolete.patch + Patch23: %{name}-pkgconfigdeps.patch -Patch24: %{name}-po.patch Patch26: %{name}-notsc.patch Patch27: %{name}-hack-norpmlibdep.patch -Patch28: %{name}-makefile-no_myLDADD_deps.patch Patch31: %{name}-missing-prototypes.patch Patch32: %{name}-pld-autodep.patch -Patch33: %{name}-arch-x86_64.patch Patch34: %{name}-epoch0.patch Patch35: %{name}-perl_req-INC_dirs.patch Patch36: %{name}-debuginfo.patch @@ -102,31 +116,30 @@ Patch37: %{name}-doxygen_hack.patch Patch41: %{name}-reduce-stack-usage.patch Patch42: %{name}-old-fileconflicts-behaviour.patch -Patch44: %{name}-no-neon.patch -Patch45: %{name}-no-sqlite.patch Patch46: %{name}-mono.patch Patch47: %{name}-javadeps.patch -Patch49: %{name}-p4.patch -Patch50: %{name}-macros.patch -Patch51: %{name}-cleanlibdirs.patch Patch52: %{name}-morearchs.patch Patch55: %{name}-truncate-cvslog.patch -Patch57: %{name}-as_needed-fix.patch Patch58: %{name}-repackage-wo-lzma.patch Patch59: %{name}-libtool-deps.patch -Patch60: %{name}-obsolete-rpmrc.patch + +Patch61: %{name}-sparc64.patch URL: http://rpm5.org/ BuildRequires: autoconf >= 2.57 BuildRequires: automake >= 1.4 BuildRequires: beecrypt-devel >= %{beecrypt_ver} BuildRequires: bzip2-devel >= 1.0.2-17 -BuildRequires: db-devel >= %{reqdb_ver} +%{?with_db:BuildRequires: db-devel >= %{reqdb_ver}} BuildRequires: elfutils-devel >= 0.108 +%ifnarch sparc64 +# -fPIE/-pie +BuildRequires: gcc >= 5:3.4 +%endif BuildRequires: gettext-devel >= 0.11.4-2 -%{?with_system_libmagic:BuildRequires: libmagic-devel} +BuildRequires: libmagic-devel %{?with_selinux:BuildRequires: libselinux-devel >= 1.18} # needed only for AM_PROG_CXX used for CXX substitution in rpm.macros BuildRequires: libstdc++-devel @@ -141,21 +154,16 @@ BuildRequires: popt-devel >= %{reqpopt_ver} BuildRequires: python-modules >= 1:2.5 BuildRequires: rpm-perlprov %{?with_python:BuildRequires: rpm-pythonprov} +%{?with_sqlite:BuildRequires: sqlite3-devel} BuildRequires: zlib-devel -%if %{with apidocs} -BuildRequires: doxygen -BuildRequires: ghostscript -BuildRequires: graphviz -BuildRequires: tetex-pdftex -%endif %if %{with static} # Require static library only for static build BuildRequires: beecrypt-static >= %{beecrypt_ver} BuildRequires: bzip2-static >= 1.0.2-17 -BuildRequires: db-static >= %{reqdb_ver} +%{?with_db:BuildRequires: db-static >= %{reqdb_ver}} BuildRequires: elfutils-static BuildRequires: glibc-static >= 2.2.94 -%{?with_system_libmagic:BuildRequires: libmagic-static} +BuildRequires: libmagic-static %{?with_selinux:BuildRequires: libselinux-static >= 1.18} BuildRequires: popt-static >= %{reqpopt_ver} BuildRequires: zlib-static @@ -166,8 +174,8 @@ Requires: beecrypt >= %{beecrypt_ver} Requires: popt >= %{reqpopt_ver} %{!?with_static:Obsoletes: rpm-utils-static} Conflicts: glibc < 2.2.92 -# ABI changes in rpm, new poldek needed -Conflicts: poldek < 0.20.1-0.20070108.1.4 +# db4.6 poldek needed +Conflicts: poldek < 0.21-0.20070703.00.3 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _binary_payload w9.gzdio @@ -262,11 +270,12 @@ Summary: RPMs library Summary(pl.UTF-8): Biblioteki RPM-a Group: Libraries Requires: beecrypt >= %{beecrypt_ver} -Requires: db >= %{reqdb_ver} +%{?with_db:Requires: db >= %{reqdb_ver}} %{?with_selinux:Requires: libselinux >= 1.18} -%{?with_system_libmagic:Requires: libmagic >= 1.15-2} +Requires: libmagic >= 1.15-2 Requires: popt >= %{reqpopt_ver} Obsoletes: rpm-libs +Obsoletes: rpm-apidocs # avoid SEGV caused by mixed db versions Conflicts: poldek < 0.18.1-16 %{?with_suggest_tags:Suggests: lzma} @@ -289,9 +298,9 @@ Group: Development/Libraries Requires: %{name}-lib = %{version}-%{release} Requires: beecrypt-devel >= %{beecrypt_ver} Requires: bzip2-devel -Requires: db-devel >= %{reqdb_ver} +%{?with_db:Requires: db-devel >= %{reqdb_ver}} Requires: elfutils-devel -%{?with_system_libmagic:Requires: libmagic-devel} +Requires: libmagic-devel %{?with_selinux:Requires: libselinux-devel} Requires: popt-devel >= %{reqpopt_ver} Requires: zlib-devel @@ -352,9 +361,9 @@ Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} Requires: beecrypt-static >= %{beecrypt_ver} Requires: bzip2-static -Requires: db-static >= %{reqdb_ver} +%{?with_db:Requires: db-static >= %{reqdb_ver}} Requires: elfutils-static -%{?with_system_libmagic:Requires: libmagic-static} +Requires: libmagic-static Requires: popt-static >= %{reqpopt_ver} Requires: zlib-static @@ -467,6 +476,7 @@ Requires: sed Requires: sh-utils Requires: tar Requires: textutils +Provides: rpmbuild(find_lang) = 1.25 Provides: rpmbuild(monoautodeps) Provides: rpmbuild(noauto) = 3 %ifarch %{x8664} @@ -495,40 +505,6 @@ construir pacotes usando o RPM. Різноманітні допоміжні скрипти та утиліти, які використовуються для побудови RPM'ів. -%package build-tools -Summary: Scripts for managing .spec files and building RPM packages -Summary(de.UTF-8): Scripts fürs Bauen binärer RPM-Pakete -Summary(pl.UTF-8): Skrypty pomocnicze do zarządznia plikami .spec i budowania RPM-ów -Summary(pt_BR.UTF-8): Scripts e programas executáveis usados para construir pacotes -Summary(ru.UTF-8): Скрипты и утилиты, необходимые для сборки пакетов -Summary(uk.UTF-8): Скрипти та утиліти, необхідні для побудови пакетів -Group: Applications/File -Requires: %{name}-build = %{version}-%{release} -# these are optional -#Requires: cvs -Requires: wget - -%description build-tools -Scripts for managing .spec files and building RPM packages. - -%description build-tools -l de.UTF-8 -Scripts fürs Bauen RPM-Pakete. - -%description build-tools -l pl.UTF-8 -Skrypty pomocnicze do zarządzania plikami .spec i do budowania RPM-ów. - -%description build-tools -l pt_BR.UTF-8 -Este pacote contém scripts e programas executáveis que são usados para -construir pacotes usando o RPM. - -%description build-tools -l ru.UTF-8 -Различные вспомогательные скрипты и исполняемые программы, которые -используются для сборки RPM'ов. - -%description build-tools -l uk.UTF-8 -Різноманітні допоміжні скрипти та утиліти, які використовуються для -побудови RPM'ів. - %package javaprov Summary: Additional utilities for checking Java provides/requires in RPM packages Summary(pl.UTF-8): Dodatkowe narzędzia do sprawdzania zależności kodu w Javie w pakietach RPM @@ -630,24 +606,12 @@ RPM (RPM Package Manager). Esse pacote deve ser instalado se você quiser desenvolver programas em Python para manipular pacotes e bancos de dados RPM. -%package apidocs -Summary: RPM API documentation and guides -Summary(pl.UTF-8): Documentacja API RPM-a i przewodniki -Group: Documentation - -%description apidocs -Documentation for RPM API and guides in HTML format generated from rpm -sources by doxygen. - -%description apidocs -l pl.UTF-8 -Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze -źrodeł RPM-a przez doxygen. - %prep %setup -q -%patch0 -p1 + +# APPLIED ALREADY? +#%patch0 -p1 %patch1 -p1 -%patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 @@ -656,16 +620,10 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze %patch8 -p1 %patch9 -p1 %patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 +# CHECK ME +#%patch14 -p1 %patch16 -p1 -%patch17 -p1 %patch18 -p1 -sed -e 's/^/@pld@/' %{SOURCE2} >>platform.in -#cp -f platform.in macros.pld.in # what for? echo '%%define __perl_provides %%{__perl} /usr/lib/rpm/perl.prov' > macros.perl echo '%%define __perl_requires %%{__perl} /usr/lib/rpm/perl.req' >> macros.perl echo '# obsoleted file' > macros.python @@ -677,72 +635,52 @@ install %{SOURCE5} scripts/find-lang.sh install %{SOURCE9} scripts/php.prov.in install %{SOURCE10} scripts/php.req.in install %{SOURCE12} scripts/perl.prov -%patch19 -p1 -%patch20 -p1 -%patch21 -p1 -%patch22 -p1 %patch23 -p1 -%patch24 -p1 + +%ifarch i386 i486 +# disable TSC %patch26 -p1 +%endif %patch27 -p1 -%patch28 -p1 -%patch31 -p1 +# CHECK ME +#%patch31 -p1 %patch32 -p1 -%patch33 -p1 %patch34 -p1 %patch35 -p0 %patch36 -p1 %patch37 -p1 -%patch41 -p1 +# CHECK ME +#%patch41 -p1 %patch42 -p1 -%{!?with_neon:%patch44 -p1} -%patch45 -p1 -%patch46 -p1 +# CHECK ME, PROBABLY WILL NEED TO HANLE IN OTHER WAY since rpmfcSCRIPT already handles mono +#%patch46 -p1 %patch47 -p1 -%patch49 -p1 -%patch50 -p1 -%patch51 -p1 +# OLD COMMENTED OUT #%patch52 -p1 %patch55 -p1 -%patch57 -p1 %patch58 -p1 %patch59 -p1 -%patch60 -p1 +%ifarch sparc64 +%patch61 -p1 +%endif cd scripts mv -f perl.req perl.req.in mv -f perl.prov perl.prov.in cd .. -mv -f po/{no,nb}.po -mv -f po/{sr,sr@Latn}.po - -rm -rf sqlite zlib db db3 popt rpmdb/db.h - # generate Group translations to *.po awk -f %{SOURCE6} %{SOURCE1} # update macros paths -for f in doc{,/ja,/pl}/rpm.8 doc{,/ja,/pl}/rpmbuild.8 ; do - sed -e 's@lib/rpm/redhat@lib/rpm/pld@g' $f > ${f}.tmp - mv -f ${f}.tmp $f -done +#for f in doc{,/ja,/pl}/rpm.8 doc{,/ja,/pl}/rpmbuild.8 ; do +# sed -e 's@lib/rpm/redhat@lib/rpm/pld@g' $f > ${f}.tmp +# mv -f ${f}.tmp $f +#done %build -%if %{with system_libmagic} -rm -rf file -%else -cd file -%{__libtoolize} -%{__aclocal} -%{__autoheader} -%{__autoconf} -%{__automake} -cd .. -%endif - %{__libtoolize} -%{__gettextize} +%{__autopoint} %{__aclocal} %{__autoheader} %{__autoconf} @@ -750,7 +688,7 @@ cd .. # config.guess doesn't handle athlon, so we have to change it by hand. # rpm checks for CPU type at runtime, but it looks better -sed -i -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' -e 's|@host_cpu@|%{_target_cpu}|' macros.in +#sed -i -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' -e 's|@host_cpu@|%{_target_cpu}|' macros.in # pass CC and CXX too in case of building with some older configure macro # disable perl-RPM2 build, we have it in separate spec @@ -762,38 +700,72 @@ sed -i -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' -e 's|@host_cpu %{?with_autoreqdep:--enable-adding-packages-names-in-autogenerated-dependancies} \ --enable-shared \ --enable-static \ - %{!?with_apidocs:--without-apidocs} \ - %{?with_python:--with-python=2.5} \ + %{?with_python:--with-python=2.5 --with-python-lib-dir=%{py_libdir}} \ %{!?with_python:--without-python} \ - %{!?with_selinux:--without-selinux} \ - --without-db + --with%{!?with_selinux:out}-selinux \ + --with-libelf \ + --with-zlib=external \ + --with-bzip2=external \ + --with-beecrypt=external \ + --with-neon=%{?with_neon:external}%{!?with_neon:no} \ + --with-file=external \ + --with-popt=external \ + --with-db=%{?with_db:external}%{!?with_db:no} \ + --with-sqlite=%{?with_sqlite:external}%{!?with_sqlite:no} \ + --with-dbapi=%{!?sqlite_dbapi:db}%{?sqlite_dbapi:sqlite} \ + --with-lua=internal \ + --with-pcre=no \ + --with-keyutils=none \ + --without-path-versioned \ + --with-path-macros='%{_rpmlibdir}/macros:%{_rpmlibdir}/macros.pld:%{_rpmlibdir}/macros.build:%{_rpmlibdir}/%%{_target}/macros:%{_sysconfdir}/macros.*:%{_sysconfdir}/macros:%{_sysconfdir}/%%{_target}/macros:~/etc/rpmmacros:~/etc/.rpmmacros:~/.rpmmacros' \ + --with-bugreport="http://bugs.pld-linux.org/" -# file_LDFLAGS, debugedit_LDADD - no need to link "file" and "debugedit" statically %{__make} \ CC="%{__cc}" \ CXX="%{__cxx}" \ - CPP="%{__cpp}" \ - pylibdir=%{py_libdir} \ - myLDFLAGS="%{rpmldflags}" \ - file_LDFLAGS= \ - debugedit_LDADD="\$(WITH_LIBELF_LIB) -lpopt" \ - staticLDFLAGS=%{?with_static:-all-static} + CPP="%{__cpp}" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{/%{_lib},/etc/sysconfig,%{_sysconfdir}/rpm,/var/lib/banner} +install -d $RPM_BUILD_ROOT{/bin,/%{_lib},/etc/sysconfig,%{_sysconfdir}/rpm,/var/lib/banner} %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT \ - staticLDFLAGS=%{?with_static:-all-static} \ - pylibdir=%{py_libdir} \ - pkgbindir="%{_bindir}" + pkgconfigdir=%{_pkgconfigdir} \ + DESTDIR=$RPM_BUILD_ROOT + +# install ARCH macros +install -d $RPM_BUILD_ROOT%{_rpmlibdir}/noarch-linux +install %{SOURCE105} $RPM_BUILD_ROOT%{_rpmlibdir}/noarch-linux/macros + +%ifarch %{ix86} +install -d $RPM_BUILD_ROOT%{_rpmlibdir}/{i386,i486,i586,i686,athlon,pentium3,pentium4}-linux +install %{SOURCE100} $RPM_BUILD_ROOT%{_rpmlibdir}/athlon-linux/macros +install %{SOURCE101} $RPM_BUILD_ROOT%{_rpmlibdir}/i386-linux/macros +install %{SOURCE102} $RPM_BUILD_ROOT%{_rpmlibdir}/i486-linux/macros +install %{SOURCE103} $RPM_BUILD_ROOT%{_rpmlibdir}/i586-linux/macros +install %{SOURCE104} $RPM_BUILD_ROOT%{_rpmlibdir}/i686-linux/macros +install %{SOURCE106} $RPM_BUILD_ROOT%{_rpmlibdir}/pentium3-linux/macros +install %{SOURCE107} $RPM_BUILD_ROOT%{_rpmlibdir}/pentium4-linux/macros +%endif + +%ifarch %{x8664} +install -d $RPM_BUILD_ROOT%{_rpmlibdir}/{x86_64,ia32e,amd64}-linux +install %{SOURCE109} $RPM_BUILD_ROOT%{_rpmlibdir}/x86_64-linux/macros +install %{SOURCE110} $RPM_BUILD_ROOT%{_rpmlibdir}/ia32e-linux/macros +install %{SOURCE111} $RPM_BUILD_ROOT%{_rpmlibdir}/amd64-linux/macros +%endif + +%ifarch %{ppc} +install -d $RPM_BUILD_ROOT%{_rpmlibdir}/ppc-linux +install %{SOURCE108} $RPM_BUILD_ROOT%{_rpmlibdir}/ppc-linux/macros +%endif # first platform file entry can't contain regexps echo "%{_target_cpu}-%{_target_vendor}-linux" > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/platform # x86_64 things %ifarch x86_64 +echo "amd64-[^-]*-linux(-gnu)?" >> $RPM_BUILD_ROOT%{_sysconfdir}/rpm/platform echo "x86_64-[^-]*-linux(-gnu)?" >> $RPM_BUILD_ROOT%{_sysconfdir}/rpm/platform %endif @@ -833,6 +805,7 @@ echo "i386-[^-]*-linux(-gnu)?" >> $RPM_BUILD_ROOT%{_sysconfdir}/rpm/platform # ppc %ifarch ppc echo "ppc-[^-]*-linux(-gnu)?" >> $RPM_BUILD_ROOT%{_sysconfdir}/rpm/platform +echo "powerpc-[^-]*-linux(-gnu)?" >> $RPM_BUILD_ROOT%{_sysconfdir}/rpm/platform %endif # noarch @@ -855,6 +828,7 @@ install macros.python $RPM_BUILD_ROOT%{_rpmlibdir}/macros.python install macros.php $RPM_BUILD_ROOT%{_rpmlibdir}/macros.php install macros.mono $RPM_BUILD_ROOT%{_rpmlibdir}/macros.mono install %{SOURCE15} $RPM_BUILD_ROOT%{_rpmlibdir}/macros.java +install %{SOURCE18} $RPM_BUILD_ROOT%{_rpmlibdir}/macros.pld install %{SOURCE1} doc/manual/groups install %{SOURCE3} $RPM_BUILD_ROOT%{_rpmlibdir}/install-build-tree @@ -867,16 +841,10 @@ install scripts/find-php* $RPM_BUILD_ROOT%{_rpmlibdir} install scripts/php.{prov,req} $RPM_BUILD_ROOT%{_rpmlibdir} install %{SOURCE14} $RPM_BUILD_ROOT/etc/sysconfig/rpm -install %{SOURCE30} $RPM_BUILD_ROOT%{_bindir}/builder -install %{SOURCE31} $RPM_BUILD_ROOT%{_bindir}/adapter.awk -install %{SOURCE32} $RPM_BUILD_ROOT%{_bindir}/pldnotify.awk -install %{SOURCE33} $RPM_BUILD_ROOT%{_bindir}/banner.sh +install %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/banner.sh install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/sysinfo -# obsolete but still installed -rm $RPM_BUILD_ROOT%{_rpmlibdir}/rpmrc - cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros <