Commit b60e3944 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack: restore AutoReq where it is used

parent 96aebc98
...@@ -19,9 +19,6 @@ subst "s|^License: unknown$|License: Proprietary|" $SPEC ...@@ -19,9 +19,6 @@ subst "s|^License: unknown$|License: Proprietary|" $SPEC
subst "s|^URL:.*|URL: https://1c.ru|" $SPEC subst "s|^URL:.*|URL: https://1c.ru|" $SPEC
subst "s|^Summary:.*|Summary: 1C 8.3 Client|" $SPEC subst "s|^Summary:.*|Summary: 1C 8.3 Client|" $SPEC
subst '1iAutoProv:no' $SPEC
subst '1iAutoReq:no' $SPEC
#remove_file /usr/local/bin/$PRODUCT #remove_file /usr/local/bin/$PRODUCT
#add_bin_link_command #add_bin_link_command
......
...@@ -80,3 +80,5 @@ Keywords=tg;chat;im;messaging;messenger;sms;tdesktop; ...@@ -80,3 +80,5 @@ Keywords=tg;chat;im;messaging;messenger;sms;tdesktop;
X-GNOME-UsesNotifications=true X-GNOME-UsesNotifications=true
EOF EOF
pack_file /usr/share/applications/$PRODUCT.desktop pack_file /usr/share/applications/$PRODUCT.desktop
set_autoreq 'yes'
...@@ -11,8 +11,6 @@ INSTALL_PACKAGES="coreutils fontconfig glib2 libalsa libcom_err libcups libdrm l ...@@ -11,8 +11,6 @@ INSTALL_PACKAGES="coreutils fontconfig glib2 libalsa libcom_err libcups libdrm l
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
#subst '1iAutoProv:no' $SPEC
# move package to /opt # move package to /opt
ROOTDIR=$(basename $(find $BUILDROOT -mindepth 1 -maxdepth 1 -type d)) ROOTDIR=$(basename $(find $BUILDROOT -mindepth 1 -maxdepth 1 -type d))
subst "s|^License: unknown$|License: Freeware|" $SPEC subst "s|^License: unknown$|License: Freeware|" $SPEC
...@@ -59,3 +57,5 @@ if epm assure patchelf ; then ...@@ -59,3 +57,5 @@ if epm assure patchelf ; then
a= patchelf --set-rpath '$ORIGIN/' $i a= patchelf --set-rpath '$ORIGIN/' $i
done done
fi fi
set_autoreq 'yes'
...@@ -6,3 +6,5 @@ SPEC="$2" ...@@ -6,3 +6,5 @@ SPEC="$2"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
add_requires yt-dlp add_requires yt-dlp
set_autoreq 'yes'
...@@ -15,7 +15,7 @@ PREINSTALL_PACKAGES="libalsa libGLX libOpenGL libX11 libxcb libXext zlib" ...@@ -15,7 +15,7 @@ PREINSTALL_PACKAGES="libalsa libGLX libOpenGL libX11 libxcb libXext zlib"
move_to_opt /usr/local/DJV2 move_to_opt /usr/local/DJV2
subst '1iAutoProv:no' $SPEC set_autoreq 'yes'
rm -v $BUILDROOT/usr/bin/djv rm -v $BUILDROOT/usr/bin/djv
......
...@@ -13,3 +13,5 @@ subst '1i%filter_from_requires /^libc.so.6(GLIBC_PRIVATE).*/d' $SPEC ...@@ -13,3 +13,5 @@ subst '1i%filter_from_requires /^libc.so.6(GLIBC_PRIVATE).*/d' $SPEC
# Add requires of lsb-init for init script # Add requires of lsb-init for init script
subst '/Group/Requires: lsb-init' $SPEC subst '/Group/Requires: lsb-init' $SPEC
set_autoreq 'yes'
...@@ -6,8 +6,7 @@ SPEC="$2" ...@@ -6,8 +6,7 @@ SPEC="$2"
# reenable console output # reenable console output
subst 's| > /dev/null 2>&1||' $BUILDROOT/opt/pt/packettracer subst 's| > /dev/null 2>&1||' $BUILDROOT/opt/pt/packettracer
subst '1iAutoProv:no' $SPEC set_autoreq 'yes,nopython'
subst '1iAutoReq:yes,nopython' $SPEC
#REQUIRES="libcurl libldap" #REQUIRES="libcurl libldap"
#subst "1iRequires:$REQUIRES|" $SPEC #subst "1iRequires:$REQUIRES|" $SPEC
......
...@@ -19,3 +19,5 @@ fix_chrome_sandbox ...@@ -19,3 +19,5 @@ fix_chrome_sandbox
fix_desktop_file fix_desktop_file
subst '1iConflicts: pencil' $SPEC subst '1iConflicts: pencil' $SPEC
set_autoreq 'yes'
...@@ -75,5 +75,5 @@ chmod -v a+x runtime/bin/* ...@@ -75,5 +75,5 @@ chmod -v a+x runtime/bin/*
add_findreq_skiplist "$PRODUCTDIR/runtime/lib/amd64/libav*.so" add_findreq_skiplist "$PRODUCTDIR/runtime/lib/amd64/libav*.so"
subst '1iAutoProv:no' $SPEC set_autoreq 'yes'
...@@ -82,3 +82,5 @@ Keywords=tg;chat;im;messaging;messenger;sms;tdesktop; ...@@ -82,3 +82,5 @@ Keywords=tg;chat;im;messaging;messenger;sms;tdesktop;
X-GNOME-UsesNotifications=true X-GNOME-UsesNotifications=true
EOF EOF
pack_file /usr/share/applications/$PRODUCT.desktop pack_file /usr/share/applications/$PRODUCT.desktop
set_autoreq 'yes'
...@@ -13,3 +13,5 @@ if [ "$(epm print info -a)" = "x86_64" ] ; then ...@@ -13,3 +13,5 @@ if [ "$(epm print info -a)" = "x86_64" ] ; then
fi fi
filter_from_requires AuthManagerDaemon filter_from_requires AuthManagerDaemon
set_autoreq 'yes'
...@@ -9,9 +9,6 @@ PRODUCTDIR=/opt/$PRODUCT ...@@ -9,9 +9,6 @@ PRODUCTDIR=/opt/$PRODUCT
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
add_requires '/usr/bin/wine' add_requires '/usr/bin/wine'
add_requires '/bin/sh' add_requires '/bin/sh'
......
...@@ -5,8 +5,7 @@ SPEC="$2" ...@@ -5,8 +5,7 @@ SPEC="$2"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
#subst '1iAutoReq:no' $SPEC set_autoreq 'yes'
subst '1iAutoProv:no' $SPEC
install_file /var/hasplm/init/hasplmd.service /etc/systemd/system/hasplmd.service install_file /var/hasplm/init/hasplmd.service /etc/systemd/system/hasplmd.service
install_file /var/hasplm/init/aksusbd.service /etc/systemd/system/aksusbd.service install_file /var/hasplm/init/aksusbd.service /etc/systemd/system/aksusbd.service
......
...@@ -20,8 +20,7 @@ PREINSTALL_PACKAGES="fontconfig glib2 libatk libcairo libfreetype libgdk-pixbuf ...@@ -20,8 +20,7 @@ PREINSTALL_PACKAGES="fontconfig glib2 libatk libcairo libfreetype libgdk-pixbuf
#subst "s|.*/etc/default/NetworkManager.*||" $BUILDROOT/etc/rc.d/init.d/anydesk #subst "s|.*/etc/default/NetworkManager.*||" $BUILDROOT/etc/rc.d/init.d/anydesk
#subst "s|/usr/share/anydesk/files/init/anydesk|/etc/rc.d/init.d/anydesk|" $SPEC #subst "s|/usr/share/anydesk/files/init/anydesk|/etc/rc.d/init.d/anydesk|" $SPEC
set_autoreq 'yes'
subst '1iAutoProv:no' $SPEC
remove_file /usr/share/anydesk/files/init/anydesk remove_file /usr/share/anydesk/files/init/anydesk
......
...@@ -23,8 +23,7 @@ PREINSTALL_PACKAGES="coreutils findutils git-core glib2 grep libalsa libatk liba ...@@ -23,8 +23,7 @@ PREINSTALL_PACKAGES="coreutils findutils git-core glib2 grep libalsa libatk liba
. $(dirname $0)/common-chromium-browser.sh . $(dirname $0)/common-chromium-browser.sh
subst '1iAutoReq:yes,nomonolib,nomono,nopython' $SPEC set_autoreq 'yes,nomonolib,nomono,nopython'
subst '1iAutoProv:no' $SPEC
move_to_opt move_to_opt
subst "s|\$USR_DIRECTORY/share/atom|/opt/atom|" $BUILDROOT/usr/bin/$PRODUCTCUR subst "s|\$USR_DIRECTORY/share/atom|/opt/atom|" $BUILDROOT/usr/bin/$PRODUCTCUR
......
...@@ -10,9 +10,6 @@ PREINSTALL_PACKAGES="$PREINSTALL_PACKAGES alsa-plugins-pulse" ...@@ -10,9 +10,6 @@ PREINSTALL_PACKAGES="$PREINSTALL_PACKAGES alsa-plugins-pulse"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
add_bin_exec_command $PRODUCT $PRODUCTDIR/bin/AudioRelay add_bin_exec_command $PRODUCT $PRODUCTDIR/bin/AudioRelay
install_file $PRODUCTDIR/lib/AudioRelay.png /usr/share/pixmaps/$PRODUCT.png install_file $PRODUCTDIR/lib/AudioRelay.png /usr/share/pixmaps/$PRODUCT.png
......
...@@ -19,3 +19,4 @@ fix_chrome_sandbox ...@@ -19,3 +19,4 @@ fix_chrome_sandbox
fix_desktop_file fix_desktop_file
set_autoreq 'yes'
...@@ -23,4 +23,3 @@ use_system_xdg ...@@ -23,4 +23,3 @@ use_system_xdg
add_deps add_deps
subst '1iAutoReq:no' $SPEC
...@@ -23,4 +23,3 @@ use_system_xdg ...@@ -23,4 +23,3 @@ use_system_xdg
add_deps add_deps
subst '1iAutoReq:no' $SPEC
...@@ -23,4 +23,3 @@ use_system_xdg ...@@ -23,4 +23,3 @@ use_system_xdg
add_deps add_deps
subst '1iAutoReq:no' $SPEC
...@@ -25,4 +25,3 @@ add_deps ...@@ -25,4 +25,3 @@ add_deps
fix_desktop_file /usr/bin/$PRODUCTCUR fix_desktop_file /usr/bin/$PRODUCTCUR
subst '1iAutoReq:no' $SPEC
...@@ -5,3 +5,5 @@ SPEC="$2" ...@@ -5,3 +5,5 @@ SPEC="$2"
# Remove LIBJPEG version # Remove LIBJPEG version
subst '1i%filter_from_requires /LIBJPEG.*_6.2/d' $SPEC subst '1i%filter_from_requires /LIBJPEG.*_6.2/d' $SPEC
set_autoreq 'yes'
...@@ -6,9 +6,6 @@ SPEC="$2" ...@@ -6,9 +6,6 @@ SPEC="$2"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
move_to_opt /cascadeur-linux move_to_opt /cascadeur-linux
subst "s|^License: unknown$|License: Proprietary|" $SPEC subst "s|^License: unknown$|License: Proprietary|" $SPEC
......
...@@ -24,3 +24,4 @@ install_deps ...@@ -24,3 +24,4 @@ install_deps
fix_chrome_sandbox fix_chrome_sandbox
set_autoreq 'yes'
...@@ -13,3 +13,5 @@ PREINSTALL_PACKAGES="coreutils glib2 libcairo libdbus libdrm libexpat libgbm lib ...@@ -13,3 +13,5 @@ PREINSTALL_PACKAGES="coreutils glib2 libcairo libdbus libdrm libexpat libgbm lib
cleanup cleanup
subst '1iBuildRequires:rpm-build-python3' $SPEC subst '1iBuildRequires:rpm-build-python3' $SPEC
set_autoreq 'yes'
...@@ -47,3 +47,4 @@ else ...@@ -47,3 +47,4 @@ else
fi fi
EOF EOF
set_autoreq 'yes'
...@@ -14,3 +14,4 @@ fi ...@@ -14,3 +14,4 @@ fi
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
set_autoreq 'yes'
...@@ -15,8 +15,7 @@ PREINSTALL_PACKAGES="at-spi2-atk coreutils findutils gawk glib2 libalsa libatk l ...@@ -15,8 +15,7 @@ PREINSTALL_PACKAGES="at-spi2-atk coreutils findutils gawk glib2 libalsa libatk l
move_to_opt move_to_opt
subst '1iAutoReq:yes,nomonolib,nomono' $SPEC set_autoreq 'yes,nomonolib,nomono'
subst '1iAutoProv:no' $SPEC
fix_desktop_file /usr/share/code/code fix_desktop_file /usr/share/code/code
......
...@@ -13,8 +13,7 @@ PREINSTALL_PACKAGES="at-spi2-atk coreutils findutils gawk glib2 libalsa libatk l ...@@ -13,8 +13,7 @@ PREINSTALL_PACKAGES="at-spi2-atk coreutils findutils gawk glib2 libalsa libatk l
move_to_opt move_to_opt
subst '1iAutoReq:yes,nomonolib,nomono' $SPEC set_autoreq 'yes,nomonolib,nomono'
subst '1iAutoProv:no' $SPEC
remove_file /usr/bin/$PRODUCT remove_file /usr/bin/$PRODUCT
add_bin_link_command add_bin_link_command
......
...@@ -9,9 +9,6 @@ PRODUCTDIR=/opt/eepm-wine/$PRODUCT ...@@ -9,9 +9,6 @@ PRODUCTDIR=/opt/eepm-wine/$PRODUCT
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
add_requires '/usr/bin/wine' add_requires '/usr/bin/wine'
add_bin_link_command $PRODUCT $PRODUCTDIR/run.sh add_bin_link_command $PRODUCT $PRODUCTDIR/run.sh
......
...@@ -47,8 +47,6 @@ copy_icons_to_share() ...@@ -47,8 +47,6 @@ copy_icons_to_share()
cleanup() cleanup()
{ {
subst '1iAutoProv: no' $SPEC
# remove cron update # remove cron update
remove_file /etc/cron.daily/$PRODUCTCUR remove_file /etc/cron.daily/$PRODUCTCUR
remove_file /etc/cron.daily/$PRODUCT remove_file /etc/cron.daily/$PRODUCT
......
...@@ -39,3 +39,4 @@ install_file "https://cuda-z.sourceforge.net/img/web-download-detect.png" /usr/s ...@@ -39,3 +39,4 @@ install_file "https://cuda-z.sourceforge.net/img/web-download-detect.png" /usr/s
# libc6:i386 libstdc++6:i386 zlib1g:i386 libx11-6:i386 libxext6:i386 libxrender1:i386 # libc6:i386 libstdc++6:i386 zlib1g:i386 libx11-6:i386 libxext6:i386 libxrender1:i386
# https://blog.redscorp.net/?p=94 # https://blog.redscorp.net/?p=94
set_autoreq 'yes'
...@@ -8,3 +8,5 @@ SPEC="$2" ...@@ -8,3 +8,5 @@ SPEC="$2"
# https://bugzilla.altlinux.org/show_bug.cgi?id=39099 # https://bugzilla.altlinux.org/show_bug.cgi?id=39099
filter_from_requires '\\/opt\\/Dialog' filter_from_requires '\\/opt\\/Dialog'
set_autoreq 'yes'
...@@ -16,9 +16,6 @@ fix_chrome_sandbox ...@@ -16,9 +16,6 @@ fix_chrome_sandbox
add_deps add_deps
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
rm usr/bin/$PRODUCT rm usr/bin/$PRODUCT
add_bin_link_command $PRODUCTCUR $PRODUCTDIR/$PRODUCTCUR add_bin_link_command $PRODUCTCUR $PRODUCTDIR/$PRODUCTCUR
add_bin_link_command $PRODUCT $PRODUCTCUR add_bin_link_command $PRODUCT $PRODUCTCUR
......
...@@ -20,3 +20,5 @@ install_deps ...@@ -20,3 +20,5 @@ install_deps
fix_chrome_sandbox fix_chrome_sandbox
set_autoreq 'yes'
...@@ -16,3 +16,5 @@ add_bin_link_command $PRODUCTCUR $PRODUCT ...@@ -16,3 +16,5 @@ add_bin_link_command $PRODUCTCUR $PRODUCT
fix_desktop_file /opt/drawio/drawio fix_desktop_file /opt/drawio/drawio
fix_chrome_sandbox fix_chrome_sandbox
set_autoreq 'yes'
...@@ -14,8 +14,7 @@ add_requires mono-full libgtk-sharp2 ...@@ -14,8 +14,7 @@ add_requires mono-full libgtk-sharp2
subst '1iBuildRequires: rpm-build-python3' $SPEC subst '1iBuildRequires: rpm-build-python3' $SPEC
subst '1i%add_python3_path /usr/lib/duplicati' $SPEC subst '1i%add_python3_path /usr/lib/duplicati' $SPEC
subst '1iAutoProv: no' $SPEC set_autoreq 'yes,nomonolib,nomono'
subst '1iAutoReq: yes,nomonolib,nomono' $SPEC
subst 's|env python.*|env python3|' $BUILDROOT/usr/lib/duplicati/utility-scripts/DuplicatiVerify.py subst 's|env python.*|env python3|' $BUILDROOT/usr/lib/duplicati/utility-scripts/DuplicatiVerify.py
subst 's|/usr/bin/bash|/bin/bash|' $BUILDROOT/usr/lib/duplicati/{lvm-scripts/*.sh,run-script-example.sh} $BUILDROOT/usr/bin/{duplicati-server,duplicati-cli,duplicati} subst 's|/usr/bin/bash|/bin/bash|' $BUILDROOT/usr/lib/duplicati/{lvm-scripts/*.sh,run-script-example.sh} $BUILDROOT/usr/bin/{duplicati-server,duplicati-cli,duplicati}
......
...@@ -5,10 +5,10 @@ SPEC="$2" ...@@ -5,10 +5,10 @@ SPEC="$2"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iAutoProv:no' $SPEC
if epm assure patchelf ; then if epm assure patchelf ; then
for i in usr/lib64/epsonscan2/lib*.so ; do for i in usr/lib64/epsonscan2/lib*.so ; do
a= patchelf --set-rpath '$ORIGIN/' $i || continue a= patchelf --set-rpath '$ORIGIN/' $i || continue
done done
fi fi
set_autoreq 'yes'
...@@ -16,3 +16,5 @@ install_deps ...@@ -16,3 +16,5 @@ install_deps
#add_deps #add_deps
fix_chrome_sandbox fix_chrome_sandbox
set_autoreq 'yes'
...@@ -14,10 +14,6 @@ subst "s|^Group:.*|Group: File tools|" $SPEC ...@@ -14,10 +14,6 @@ subst "s|^Group:.*|Group: File tools|" $SPEC
subst "s|^URL:.*|URL: https://github.com/elfmz/far2l|" $SPEC subst "s|^URL:.*|URL: https://github.com/elfmz/far2l|" $SPEC
subst "s|^Summary:.*|Summary: Linux port of FAR v2|" $SPEC subst "s|^Summary:.*|Summary: Linux port of FAR v2|" $SPEC
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
subst '1iConflicts: far2l' $SPEC subst '1iConflicts: far2l' $SPEC
add_bin_cdexec_command add_bin_cdexec_command
......
...@@ -17,8 +17,7 @@ PREINSTALL_PACKAGES="fontconfig glib2 libalsa libatk libcairo libcairo-gobject l ...@@ -17,8 +17,7 @@ PREINSTALL_PACKAGES="fontconfig glib2 libalsa libatk libcairo libcairo-gobject l
# subst "1iConflicts:$i" $SPEC # subst "1iConflicts:$i" $SPEC
#done #done
subst '1iAutoReq:yes,noshell,nomonolib,nomono,nopython' $SPEC set_autoreq 'yes,noshell,nomonolib,nomono,nopython'
subst '1iAutoProv:no' $SPEC
#set_alt_alternatives 65 #set_alt_alternatives 65
......
...@@ -8,7 +8,7 @@ PREINSTALL_PACKAGES="glib2 libfontconfig1 libfreetype libgdk-pixbuf libGL libgtk ...@@ -8,7 +8,7 @@ PREINSTALL_PACKAGES="glib2 libfontconfig1 libfreetype libgdk-pixbuf libGL libgtk
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iAutoProv:no' $SPEC set_autoreq 'yes'
subst "s|^License: unknown$|License: Proprietary|" $SPEC subst "s|^License: unknown$|License: Proprietary|" $SPEC
subst "s|^Summary:.*|Summary: Adobe Flash Player Standalone|" $SPEC subst "s|^Summary:.*|Summary: Adobe Flash Player Standalone|" $SPEC
......
...@@ -10,3 +10,4 @@ PREINSTALL_PACKAGES="libGL libGLU libqt5-core libqt5-gui libqt5-network libqt5-o ...@@ -10,3 +10,4 @@ PREINSTALL_PACKAGES="libGL libGLU libqt5-core libqt5-gui libqt5-network libqt5-o
move_file /usr/lib/libOCCTWrapper.so.1 /usr/lib64/libOCCTWrapper.so.1 move_file /usr/lib/libOCCTWrapper.so.1 /usr/lib64/libOCCTWrapper.so.1
set_autoreq 'yes'
...@@ -5,9 +5,6 @@ SPEC="$2" ...@@ -5,9 +5,6 @@ SPEC="$2"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
move_to_opt move_to_opt
ln -sf $PRODUCTDIR/$PRODUCT.sh usr/bin/$PRODUCT ln -sf $PRODUCTDIR/$PRODUCT.sh usr/bin/$PRODUCT
fix_desktop_file "/usr/bin/freeplane/$PRODUCT" fix_desktop_file "/usr/bin/freeplane/$PRODUCT"
......
...@@ -11,7 +11,7 @@ PREINSTALL_PACKAGES="python3 rpm-build-python3" ...@@ -11,7 +11,7 @@ PREINSTALL_PACKAGES="python3 rpm-build-python3"
. $(dirname $0)/common-chromium-browser.sh . $(dirname $0)/common-chromium-browser.sh
subst '1iAutoReq:yes,noshell,nomonolib,nomono,nopython' $SPEC set_autoreq 'yes,noshell,nomonolib,nomono,nopython'
subst '1iBuildRequires:rpm-build-python3' $SPEC subst '1iBuildRequires:rpm-build-python3' $SPEC
subst "1i%add_python3_path $PRODUCTDIR" $SPEC subst "1i%add_python3_path $PRODUCTDIR" $SPEC
......
...@@ -26,5 +26,4 @@ add_findreq_skiplist "$PRODUCTDIR/resources/app.asar.unpacked/node_modules/@msgp ...@@ -26,5 +26,4 @@ add_findreq_skiplist "$PRODUCTDIR/resources/app.asar.unpacked/node_modules/@msgp
add_requires libXScrnSaver add_requires libXScrnSaver
# TODO: replace gitkraken/resources/app.asar.unpacked/git with system's one optionally? # TODO: replace gitkraken/resources/app.asar.unpacked/git with system's one optionally?
subst '1iAutoReq:yes,noperl' $SPEC set_autoreq 'yes,noperl'
subst '1iAutoProv:no' $SPEC
...@@ -18,7 +18,4 @@ PRODUCT=gitlab-runner ...@@ -18,7 +18,4 @@ PRODUCT=gitlab-runner
# $ rpm -q --provides -p gitlab-runner_amd64.rpm # $ rpm -q --provides -p gitlab-runner_amd64.rpm
# gitlab-ci-multi-runner # gitlab-ci-multi-runner
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
add_requires curl git tar add_requires curl git tar
...@@ -29,3 +29,4 @@ fix_desktop_file /usr/bin/google-chrome-stable ...@@ -29,3 +29,4 @@ fix_desktop_file /usr/bin/google-chrome-stable
install_deps install_deps
set_autoreq 'yes'
...@@ -39,3 +39,5 @@ pack_file /usr/share/applications/$PRODUCT.desktop ...@@ -39,3 +39,5 @@ pack_file /usr/share/applications/$PRODUCT.desktop
# copied from ~.local/share/icons/se.hansoft.Exe-PMClient_7B6AC2CBB8795205B8E6DC09CB75B5E6.png # copied from ~.local/share/icons/se.hansoft.Exe-PMClient_7B6AC2CBB8795205B8E6DC09CB75B5E6.png
i=256 i=256
install_file ipfs://QmbYM3wS2qXtWbUg9mASMPoJmgfL6smny1m3J4PfuiDtJR /usr/share/icons/hicolor/${i}x${i}/apps/$PRODUCT.png install_file ipfs://QmbYM3wS2qXtWbUg9mASMPoJmgfL6smny1m3J4PfuiDtJR /usr/share/icons/hicolor/${i}x${i}/apps/$PRODUCT.png
set_autoreq 'yes'
...@@ -6,9 +6,6 @@ SPEC="$2" ...@@ -6,9 +6,6 @@ SPEC="$2"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
subst "s|^License: unknown$|License: Proprietary|" $SPEC subst "s|^License: unknown$|License: Proprietary|" $SPEC
subst "s|^Summary:.*|Summary: Binary plugin for HPs hplip printer driver library|" $SPEC subst "s|^Summary:.*|Summary: Binary plugin for HPs hplip printer driver library|" $SPEC
......
...@@ -75,3 +75,5 @@ for i in QtQuick/*/lib*.so ; do ...@@ -75,3 +75,5 @@ for i in QtQuick/*/lib*.so ; do
a= patchelf --set-rpath '$ORIGIN/../../lib' $i a= patchelf --set-rpath '$ORIGIN/../../lib' $i
done done
fi fi
set_autoreq 'yes'
...@@ -27,3 +27,5 @@ filter_from_requires "libldap_r-2.4.so.2(OPENLDAP_2.*)(64bit)" "liblber-2.4.so.2 ...@@ -27,3 +27,5 @@ filter_from_requires "libldap_r-2.4.so.2(OPENLDAP_2.*)(64bit)" "liblber-2.4.so.2
# ignore embedded libs # ignore embedded libs
filter_from_requires libQt5 libav libcrypto.so libdbus-1.so libicu liblibraw.so libssl.so libswresample libswscale libva libvdpau filter_from_requires libQt5 libav libcrypto.so libdbus-1.so libicu liblibraw.so libssl.so libswresample libswscale libva libvdpau
filter_from_requires libgst libuv filter_from_requires libgst libuv
set_autoreq 'yes'
...@@ -28,3 +28,5 @@ mkdir -p var/lib/ipera ...@@ -28,3 +28,5 @@ mkdir -p var/lib/ipera
pack_dir /var/lib/ipera pack_dir /var/lib/ipera
ln -s /var/lib/ipera .$PRODUCTDIR/var ln -s /var/lib/ipera .$PRODUCTDIR/var
pack_file $PRODUCTDIR/var pack_file $PRODUCTDIR/var
set_autoreq 'yes'
...@@ -28,3 +28,4 @@ filter_from_requires "mono(Microsoft.Threading.Tasks.Extensions)" ...@@ -28,3 +28,4 @@ filter_from_requires "mono(Microsoft.Threading.Tasks.Extensions)"
filter_from_requires "mono(System.Runtime)" filter_from_requires "mono(System.Runtime)"
filter_from_requires "mono(System.Threading.Tasks)" filter_from_requires "mono(System.Threading.Tasks)"
set_autoreq 'yes'
...@@ -14,3 +14,5 @@ fix_chrome_sandbox ...@@ -14,3 +14,5 @@ fix_chrome_sandbox
install_deps install_deps
add_bin_link_command add_bin_link_command
set_autoreq 'yes'
...@@ -30,3 +30,5 @@ if epm assure patchelf ; then ...@@ -30,3 +30,5 @@ if epm assure patchelf ; then
a= patchelf --set-rpath '$ORIGIN' $i a= patchelf --set-rpath '$ORIGIN' $i
done done
fi fi
set_autoreq 'yes'
...@@ -9,3 +9,5 @@ SPEC="$2" ...@@ -9,3 +9,5 @@ SPEC="$2"
# remove kernel related script # remove kernel related script
rm -fv $BUILDROOT/opt/iw/dmagent/etc/initramfs-tools/hooks/iwdm rm -fv $BUILDROOT/opt/iw/dmagent/etc/initramfs-tools/hooks/iwdm
subst 's|"*/opt/iw/dmagent/etc/initramfs-tools/hooks/iwdm"*||' $SPEC subst 's|"*/opt/iw/dmagent/etc/initramfs-tools/hooks/iwdm"*||' $SPEC
set_autoreq 'yes'
...@@ -13,3 +13,5 @@ rm -fv $BUILDROOT/opt/iw/tm5/share/grafana/scripts/circle-test-*.sh ...@@ -13,3 +13,5 @@ rm -fv $BUILDROOT/opt/iw/tm5/share/grafana/scripts/circle-test-*.sh
subst 's|"*/opt/iw/tm5/share/grafana/scripts/circle-test-.*.sh"*||' $SPEC subst 's|"*/opt/iw/tm5/share/grafana/scripts/circle-test-.*.sh"*||' $SPEC
rm -rfv $BUILDROOT/opt/iw/tm5/share/grafana/scripts/build/ rm -rfv $BUILDROOT/opt/iw/tm5/share/grafana/scripts/build/
subst 's|"*/opt/iw/tm5/share/grafana/scripts/build/.*"*||' $SPEC subst 's|"*/opt/iw/tm5/share/grafana/scripts/build/.*"*||' $SPEC
set_autoreq 'yes'
...@@ -9,3 +9,5 @@ SPEC="$2" ...@@ -9,3 +9,5 @@ SPEC="$2"
# remove broken script # remove broken script
rm -fv $BUILDROOT/etc/init.d/* rm -fv $BUILDROOT/etc/init.d/*
subst 's|"*/etc/init.d/*"*||' $SPEC subst 's|"*/etc/init.d/*"*||' $SPEC
set_autoreq 'yes'
...@@ -31,3 +31,5 @@ EOF ...@@ -31,3 +31,5 @@ EOF
add_requires java-openjdk add_requires java-openjdk
set_autoreq 'yes'
...@@ -11,9 +11,6 @@ subst "s|^License:.*$|License: Apache-2.0|" $SPEC ...@@ -11,9 +11,6 @@ subst "s|^License:.*$|License: Apache-2.0|" $SPEC
subst "s|^URL:.*|URL: https://k3s.io|" $SPEC subst "s|^URL:.*|URL: https://k3s.io|" $SPEC
subst "s|^Summary:.*|Summary: K3s - Lightweight Kubernetes|" $SPEC subst "s|^Summary:.*|Summary: K3s - Lightweight Kubernetes|" $SPEC
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
subst '1iConflicts: kubernetes-client' $SPEC subst '1iConflicts: kubernetes-client' $SPEC
# Check https://get.k3s.io/ # Check https://get.k3s.io/
......
...@@ -18,9 +18,7 @@ subst "s|^License:.*$|License: MIT/Apache-2.0|" $SPEC ...@@ -18,9 +18,7 @@ subst "s|^License:.*$|License: MIT/Apache-2.0|" $SPEC
subst "s|^URL:.*|URL: https://github.com/ipfs/kubo|" $SPEC subst "s|^URL:.*|URL: https://github.com/ipfs/kubo|" $SPEC
subst "s|^Summary:.*|Summary: An IPFS implementation in Go|" $SPEC subst "s|^Summary:.*|Summary: An IPFS implementation in Go|" $SPEC
set_autoreq 'yes'
#subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
subst '1iConflicts: go-ipfs' $SPEC subst '1iConflicts: go-ipfs' $SPEC
subst '1iProvides: go-ipfs' $SPEC subst '1iProvides: go-ipfs' $SPEC
......
...@@ -14,7 +14,7 @@ PRODUCTCUR=$PRODUCT$VER ...@@ -14,7 +14,7 @@ PRODUCTCUR=$PRODUCT$VER
# embedded # embedded
filter_from_requires "python3(PyPDF3)" filter_from_requires "python3(PyPDF3)"
subst '1iAutoProv: no' $SPEC set_autoreq 'yes'
# remove embedded PyPDF3 # remove embedded PyPDF3
remove_dir /usr/share/kyocera$VER/Python remove_dir /usr/share/kyocera$VER/Python
......
...@@ -10,8 +10,7 @@ PREINSTALL_PACKAGES="fontconfig glib2 libalsa libatk libcairo libcairo-gobject l ...@@ -10,8 +10,7 @@ PREINSTALL_PACKAGES="fontconfig glib2 libalsa libatk libcairo libcairo-gobject l
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iAutoReq:yes,noshell,nomonolib,nomono,nopython' $SPEC set_autoreq 'yes,noshell,nomonolib,nomono,nopython'
subst '1iAutoProv:no' $SPEC
move_to_opt move_to_opt
fix_desktop_file "/usr/share/$PRODUCT/$PRODUCT" fix_desktop_file "/usr/share/$PRODUCT/$PRODUCT"
......
...@@ -9,7 +9,7 @@ SPEC="$2" ...@@ -9,7 +9,7 @@ SPEC="$2"
# lib.req: ERROR: /tmp/.private/.../usr/lib/lightworks/libirng.so: no symbol bindings # lib.req: ERROR: /tmp/.private/.../usr/lib/lightworks/libirng.so: no symbol bindings
subst '1i%add_findreq_skiplist /usr/lib/lightworks/libirng.so /usr/lib/lightworks/libsvml.so' $SPEC subst '1i%add_findreq_skiplist /usr/lib/lightworks/libirng.so /usr/lib/lightworks/libsvml.so' $SPEC
subst '1iAutoProv:no' $SPEC set_autoreq 'yes'
# ignore embedded libs # ignore embedded libs
for i in libc++.so.1 libc++abi.so.1 libedit.so libportaudio.so.2 libportaudiocpp.so.0 ; do for i in libc++.so.1 libc++abi.so.1 libedit.so libportaudio.so.2 libportaudiocpp.so.0 ; do
......
...@@ -41,3 +41,5 @@ pack_file /usr/share/applications/$PRODUCT.desktop ...@@ -41,3 +41,5 @@ pack_file /usr/share/applications/$PRODUCT.desktop
# https://bugzilla.altlinux.org/45635 # https://bugzilla.altlinux.org/45635
add_requires golang add_requires golang
set_autoreq 'yes'
...@@ -11,8 +11,7 @@ move_to_opt "/opt/lithium*" || fatal "can't move to $PRODUCTDIR" ...@@ -11,8 +11,7 @@ move_to_opt "/opt/lithium*" || fatal "can't move to $PRODUCTDIR"
add_bin_link_command $PRODUCT $PRODUCTDIR/launcher.sh add_bin_link_command $PRODUCT $PRODUCTDIR/launcher.sh
#subst '1iAutoReq:no' $SPEC set_autoreq 'yes'
subst '1iAutoProv:no' $SPEC
cd $BUILDROOT$PRODUCTDIR || fatal cd $BUILDROOT$PRODUCTDIR || fatal
if epm assure patchelf ; then if epm assure patchelf ; then
......
...@@ -19,6 +19,5 @@ fix_desktop_file /opt/icons8/lunacy/Lunacy $PRODUCT ...@@ -19,6 +19,5 @@ fix_desktop_file /opt/icons8/lunacy/Lunacy $PRODUCT
fix_desktop_file /opt/icons8/lunacy/Assets/LunacyLogo.png $PRODUCT fix_desktop_file /opt/icons8/lunacy/Assets/LunacyLogo.png $PRODUCT
install_file /opt/icons8/lunacy/Assets/LunacyLogo.png /usr/share/pixmaps/$PRODUCT.png install_file /opt/icons8/lunacy/Assets/LunacyLogo.png /usr/share/pixmaps/$PRODUCT.png
subst '1iAutoProv:no' $SPEC set_autoreq 'yes,nomono,nomonolib'
subst '1iAutoReq:yes,nomono,nomonolib' $SPEC
...@@ -21,3 +21,6 @@ fix_desktop_file ...@@ -21,3 +21,6 @@ fix_desktop_file
# ignore embedded libs # ignore embedded libs
filter_from_requires libQt5 node seamonkey thunderbird filter_from_requires libQt5 node seamonkey thunderbird
set_autoreq 'yes'
...@@ -58,3 +58,5 @@ for i in QtQuick/*/lib*.so ; do ...@@ -58,3 +58,5 @@ for i in QtQuick/*/lib*.so ; do
a= patchelf --set-rpath '$ORIGIN/../../lib' $i a= patchelf --set-rpath '$ORIGIN/../../lib' $i
done done
fi fi
set_autoreq 'yes'
...@@ -15,3 +15,6 @@ add_bin_link_command ...@@ -15,3 +15,6 @@ add_bin_link_command
add_bin_link_command $PRODUCTCUR $PRODUCT add_bin_link_command $PRODUCTCUR $PRODUCT
fix_desktop_file fix_desktop_file
set_autoreq 'yes'
...@@ -41,7 +41,7 @@ add_bin_exec_command $PRODUCT ...@@ -41,7 +41,7 @@ add_bin_exec_command $PRODUCT
# error: version `GLIBC_2.33' not found (required by ./python3) # error: version `GLIBC_2.33' not found (required by ./python3)
remove_dir $PRODUCTDIR/resources/app.asar.unpacked/node_modules/register-scheme remove_dir $PRODUCTDIR/resources/app.asar.unpacked/node_modules/register-scheme
subst '1iAutoProv:no' $SPEC set_autoreq 'yes'
# ignore embedded libs # ignore embedded libs
drop_embedded_reqs drop_embedded_reqs
...@@ -41,3 +41,4 @@ for i in $BUILDROOT$PRODUCTDIR/libmip_*.so ; do ...@@ -41,3 +41,4 @@ for i in $BUILDROOT$PRODUCTDIR/libmip_*.so ; do
[ "$(a= patchelf --print-interpreter $i)" = "/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2" ] && a= patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 $i [ "$(a= patchelf --print-interpreter $i)" = "/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2" ] && a= patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 $i
done done
set_autoreq 'yes'
...@@ -8,3 +8,5 @@ PRODUCT=minecraft-launcher ...@@ -8,3 +8,5 @@ PRODUCT=minecraft-launcher
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
add_requires java-openjdk at-spi2-atk file GConf glib2 grep libatk libat-spi2-core libalsa libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst sed which xdg-utils xprop libsecret add_requires java-openjdk at-spi2-atk file GConf glib2 grep libatk libat-spi2-core libalsa libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst sed which xdg-utils xprop libsecret
set_autoreq 'yes'
...@@ -19,3 +19,4 @@ fix_chrome_sandbox ...@@ -19,3 +19,4 @@ fix_chrome_sandbox
install_deps install_deps
set_autoreq 'yes'
...@@ -10,12 +10,12 @@ PREINSTALL_PACKAGES="libnuma libsss_nss_idmap bzip2 cyrus-sasl2 libcom_err libkr ...@@ -10,12 +10,12 @@ PREINSTALL_PACKAGES="libnuma libsss_nss_idmap bzip2 cyrus-sasl2 libcom_err libkr
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# we need libssl/libcrypto-devel due libssl.so/libcrypto.so using (ALT bug 35559) # we need libssl/libcrypto-devel due libssl.so/libcrypto.so using (ALT bug 35559)
REQUIRES="python3 pbzip2 bzip2 gdb libnuma libkrb5 libsss_nss_idmap cyrus-sasl2 libsasl2-plugin-gssapi procps" add_requires="python3 pbzip2 bzip2 gdb libnuma libkrb5 libsss_nss_idmap cyrus-sasl2 libsasl2-plugin-gssapi procps"
# ALT's su does not support -p last 20 years # ALT's su does not support -p last 20 years
subst "s|su -p |su |" $BUILDROOT/opt/mssql/lib/mssql-conf/invokesqlservr.sh subst "s|su -p |su |" $BUILDROOT/opt/mssql/lib/mssql-conf/invokesqlservr.sh
subst "1iAutoProv:no\nAutoReq:yes,nopython,nopython3\n# Converted from original package requires\nRequires:$REQUIRES\n" $SPEC set_autoreq 'yes,nopython,nopython3'
# fix typo # fix typo
subst "s|Руѝѝкий|Русский|" $BUILDROOT/opt/mssql/lib/mssql-conf/mssqlconfhelper.py subst "s|Руѝѝкий|Русский|" $BUILDROOT/opt/mssql/lib/mssql-conf/mssqlconfhelper.py
......
...@@ -8,13 +8,12 @@ PREINSTALL_PACKAGES="ffmpeg ffplay ffprobe xdg-utils" ...@@ -8,13 +8,12 @@ PREINSTALL_PACKAGES="ffmpeg ffplay ffprobe xdg-utils"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iAutoProv:no' $SPEC set_autoreq "yes"
# fix libdir # fix libdir
install_file /usr/lib/mozilla/native-messaging-hosts/net.downloadhelper.coapp.json /usr/lib64/mozilla/native-messaging-hosts/net.downloadhelper.coapp.json install_file /usr/lib/mozilla/native-messaging-hosts/net.downloadhelper.coapp.json /usr/lib64/mozilla/native-messaging-hosts/net.downloadhelper.coapp.json
remove_dir /usr/lib remove_dir /usr/lib
#subst '1iAutoReq:no' $SPEC
# use ffmpeg from the system # use ffmpeg from the system
remove_dir /opt/net.downloadhelper.coapp/converter/build/linux/64 remove_dir /opt/net.downloadhelper.coapp/converter/build/linux/64
mkdir -p opt/net.downloadhelper.coapp/converter/build/linux/64 mkdir -p opt/net.downloadhelper.coapp/converter/build/linux/64
......
...@@ -28,3 +28,5 @@ fix_desktop_file ...@@ -28,3 +28,5 @@ fix_desktop_file
#for i in $BUILDROOT$PRODUCTDIR/$PRODUCT ; do #for i in $BUILDROOT$PRODUCTDIR/$PRODUCT ; do
# a= patchelf --set-rpath "$PRODUCTDIR" $i # a= patchelf --set-rpath "$PRODUCTDIR" $i
#done #done
set_autoreq 'yes'
...@@ -41,8 +41,4 @@ for i in 16 22 24 32 48 64 128 256 ; do ...@@ -41,8 +41,4 @@ for i in 16 22 24 32 48 64 128 256 ; do
done done
subst "s|%files|%files\n/usr/share/icons/hicolor/*x*/apps/$iconname.png|" $SPEC subst "s|%files|%files\n/usr/share/icons/hicolor/*x*/apps/$iconname.png|" $SPEC
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
fix_desktop_file /usr/bin/onlyoffice-desktopeditors fix_desktop_file /usr/bin/onlyoffice-desktopeditors
...@@ -67,3 +67,5 @@ fi ...@@ -67,3 +67,5 @@ fi
install_deps install_deps
set_autoreq 'yes'
...@@ -26,3 +26,4 @@ remove_dir /usr/local ...@@ -26,3 +26,4 @@ remove_dir /usr/local
subst '1iRequires: libjpeg8' $SPEC subst '1iRequires: libjpeg8' $SPEC
set_autoreq 'yes'
...@@ -8,9 +8,6 @@ SPEC="$2" ...@@ -8,9 +8,6 @@ SPEC="$2"
add_requires glib2 glxinfo libalsa libdbus libdrm libEGL libexpat fontconfig libfreetype libgbm libGLX libharfbuzz libjpeg8 liblcms2 libminizip libnspr libnss libOpenGL libopus libpci libpulseaudio libsnappy libtiff5 libudev1 libva libwayland-client libwayland-cursor libwayland-egl libwayland-server libX11 libxcb libxcb-render-util libxcbutil-icccm libxcbutil-image libxcbutil-keysyms libXcomposite libXdamage libXext libXfixes libXinerama libxkbcommon libxkbcommon-x11 libxkbfile libxml2 libXrandr libXrender libXScrnSaver libxshmfence libxslt libXtst which zlib add_requires glib2 glxinfo libalsa libdbus libdrm libEGL libexpat fontconfig libfreetype libgbm libGLX libharfbuzz libjpeg8 liblcms2 libminizip libnspr libnss libOpenGL libopus libpci libpulseaudio libsnappy libtiff5 libudev1 libva libwayland-client libwayland-cursor libwayland-egl libwayland-server libX11 libxcb libxcb-render-util libxcbutil-icccm libxcbutil-image libxcbutil-keysyms libXcomposite libXdamage libXext libXfixes libXinerama libxkbcommon libxkbcommon-x11 libxkbfile libxml2 libXrandr libXrender libXScrnSaver libxshmfence libxslt libXtst which zlib
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
add_bin_link_command $PRODUCT $PRODUCTDIR/Plex.sh add_bin_link_command $PRODUCT $PRODUCTDIR/Plex.sh
cd .$PRODUCTDIR || fatal cd .$PRODUCTDIR || fatal
......
...@@ -31,5 +31,6 @@ fix_chrome_sandbox $PRODUCTDIR/updates/linux_amd64/app/$p/chrome-sandbox ...@@ -31,5 +31,6 @@ fix_chrome_sandbox $PRODUCTDIR/updates/linux_amd64/app/$p/chrome-sandbox
pack_file $PRODUCTDIR/updates pack_file $PRODUCTDIR/updates
install_deps install_deps
set_autoreq 'yes'
...@@ -48,3 +48,5 @@ chmod a+rwX $BUILDROOT/var/lib/$PRODUCT ...@@ -48,3 +48,5 @@ chmod a+rwX $BUILDROOT/var/lib/$PRODUCT
ln -s /var/lib/$PRODUCT $BUILDROOT$PRODUCTDIR/data ln -s /var/lib/$PRODUCT $BUILDROOT$PRODUCTDIR/data
pack_file $PRODUCTDIR/data pack_file $PRODUCTDIR/data
pack_file /var/lib/$PRODUCT pack_file /var/lib/$PRODUCT
set_autoreq 'yes'
...@@ -11,3 +11,6 @@ PRODUCTDIR=/opt/PortProton ...@@ -11,3 +11,6 @@ PRODUCTDIR=/opt/PortProton
add_requires bubblewrap cabextract curl gamemode icoutils libvulkan1 vulkan-tools wget zenity zstd gawk tar libd3d libMesaOpenCL /usr/bin/convert add_requires bubblewrap cabextract curl gamemode icoutils libvulkan1 vulkan-tools wget zenity zstd gawk tar libd3d libMesaOpenCL /usr/bin/convert
filter_from_requires xneur filter_from_requires xneur
set_autoreq 'yes'
...@@ -87,5 +87,4 @@ pack_dir $PRODUCTDIR/bin/ ...@@ -87,5 +87,4 @@ pack_dir $PRODUCTDIR/bin/
pack_dir $PRODUCTDIR/lib/ pack_dir $PRODUCTDIR/lib/
pack_dir $PRODUCTDIR/plugins/ pack_dir $PRODUCTDIR/plugins/
subst '1iAutoProv:no' $SPEC set_autoreq 'yes,nopython,nopython3,nomono,nomonolib'
subst '1iAutoReq:yes,nopython,nopython3,nomono,nomonolib' $SPEC
...@@ -99,5 +99,4 @@ pack_dir $PRODUCTDIR/bin/ ...@@ -99,5 +99,4 @@ pack_dir $PRODUCTDIR/bin/
pack_dir $PRODUCTDIR/lib/ pack_dir $PRODUCTDIR/lib/
pack_dir $PRODUCTDIR/plugins/ pack_dir $PRODUCTDIR/plugins/
subst '1iAutoProv:no' $SPEC set_autoreq 'yes,nopython,nopython3,nomono,nomonolib'
subst '1iAutoReq:yes,nopython,nopython3,nomono,nomonolib' $SPEC
...@@ -29,8 +29,7 @@ for i in $BUILDROOT$PRODUCTDIR/desktopeditors/{converter,platforms,platforminput ...@@ -29,8 +29,7 @@ for i in $BUILDROOT$PRODUCTDIR/desktopeditors/{converter,platforms,platforminput
done done
fi fi
#subst '1iAutoReq:no' $SPEC set_autoreq 'yes'
subst '1iAutoProv:no' $SPEC
#epm install --skip-installed bzlib fontconfig libalsa libcairo libcups libdrm libfreetype zlib libXv glib2 libatk libcairo-gobject libEGL libgdk-pixbuf libgio libGL libgst-plugins1.0 libgstreamer1.0 libgtk+2 libgtk+3 libpango libpulseaudio libsqlite3 libX11 libxcb libxcb-render-util libXcomposite libXext libXfixes libxkbcommon libxkbcommon-x11 libXrender #epm install --skip-installed bzlib fontconfig libalsa libcairo libcups libdrm libfreetype zlib libXv glib2 libatk libcairo-gobject libEGL libgdk-pixbuf libgio libGL libgst-plugins1.0 libgstreamer1.0 libgtk+2 libgtk+3 libpango libpulseaudio libsqlite3 libX11 libxcb libxcb-render-util libXcomposite libXext libXfixes libxkbcommon libxkbcommon-x11 libXrender
......
...@@ -10,3 +10,4 @@ subst '1iConflicts: tigervnc' $SPEC ...@@ -10,3 +10,4 @@ subst '1iConflicts: tigervnc' $SPEC
filter_from_requires '\\/bin\\/chkconfig' '\\/bin\\/service' '\\/lib\\/svc\\/share\\/smf_include.sh' filter_from_requires '\\/bin\\/chkconfig' '\\/bin\\/service' '\\/lib\\/svc\\/share\\/smf_include.sh'
set_autoreq 'yes'
...@@ -7,3 +7,5 @@ SPEC="$2" ...@@ -7,3 +7,5 @@ SPEC="$2"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iConflicts: tigervnc' $SPEC subst '1iConflicts: tigervnc' $SPEC
set_autoreq 'yes'
...@@ -10,3 +10,5 @@ PRODUCT=remotedesktopmanager ...@@ -10,3 +10,5 @@ PRODUCT=remotedesktopmanager
PRODUCTDIR=/usr/lib/devolutions/RemoteDesktopManager PRODUCTDIR=/usr/lib/devolutions/RemoteDesktopManager
add_findreq_skiplist "$PRODUCTDIR/runtimes/*" add_findreq_skiplist "$PRODUCTDIR/runtimes/*"
set_autoreq 'yes'
...@@ -22,3 +22,5 @@ subst "s|$PRODUCTDIR/||" $BUILDROOT/usr/share/applications/rocketchat-desktop.de ...@@ -22,3 +22,5 @@ subst "s|$PRODUCTDIR/||" $BUILDROOT/usr/share/applications/rocketchat-desktop.de
#for i in $BUILDROOT$PRODUCTDIR/$PRODUCT ; do #for i in $BUILDROOT$PRODUCTDIR/$PRODUCT ; do
# a= patchelf --set-rpath "$PRODUCTDIR" $i # a= patchelf --set-rpath "$PRODUCTDIR" $i
#done #done
set_autoreq 'yes'
...@@ -17,7 +17,7 @@ add_bin_exec_command $PRODUCT ...@@ -17,7 +17,7 @@ add_bin_exec_command $PRODUCT
subst 's|/usr/lib/rstudio/bin/rstudio|$PRODUCTDIR/$PRODUCT|' $BUILDROOT$PRODUCTDIR/resources/app/bin/rstudio-backtrace.sh subst 's|/usr/lib/rstudio/bin/rstudio|$PRODUCTDIR/$PRODUCT|' $BUILDROOT$PRODUCTDIR/resources/app/bin/rstudio-backtrace.sh
# https://bugzilla.altlinux.org/43794 # https://bugzilla.altlinux.org/43794
subst '1iAutoReq:yes,nopython,nopython3,nomono,nomonolib' $SPEC set_autoreq 'yes,nopython,nopython3,nomono,nomonolib'
fix_chrome_sandbox fix_chrome_sandbox
......
...@@ -10,7 +10,7 @@ PRODUCTDIR=/usr/lib/$PRODUCT ...@@ -10,7 +10,7 @@ PRODUCTDIR=/usr/lib/$PRODUCT
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
subst '1iAutoProv:no' $SPEC set_autoreq 'yes'
# put service file to the normal place # put service file to the normal place
mkdir -p $BUILDROOT/etc/systemd/system/ mkdir -p $BUILDROOT/etc/systemd/system/
......
...@@ -11,7 +11,5 @@ subst "s|^License:.*$|License: Proprietary|" $SPEC ...@@ -11,7 +11,5 @@ subst "s|^License:.*$|License: Proprietary|" $SPEC
subst "s|^URL:.*|URL: https://github.com/zerotier/ZeroTierOne|" $SPEC subst "s|^URL:.*|URL: https://github.com/zerotier/ZeroTierOne|" $SPEC
subst "s|^Summary:.*|Summary: Panasonic Scanner Driver for Linux|" $SPEC subst "s|^Summary:.*|Summary: Panasonic Scanner Driver for Linux|" $SPEC
set_autoreq 'yes'
#subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
...@@ -16,3 +16,4 @@ subst '1i%filter_from_requires /^libcurl-gnutls.so.4(CURL_GNUTLS_.*/d' $SPEC ...@@ -16,3 +16,4 @@ subst '1i%filter_from_requires /^libcurl-gnutls.so.4(CURL_GNUTLS_.*/d' $SPEC
add_requires $REQUIRES add_requires $REQUIRES
set_autoreq 'yes'
...@@ -10,3 +10,5 @@ LIBPATH="$(cd $BUILDROOT ; echo opt/gcc-*/lib64)" ...@@ -10,3 +10,5 @@ LIBPATH="$(cd $BUILDROOT ; echo opt/gcc-*/lib64)"
# find provides there # find provides there
subst "1i%set_findprov_lib_path /$LIBPATH" $SPEC subst "1i%set_findprov_lib_path /$LIBPATH" $SPEC
set_autoreq 'yes'
...@@ -17,3 +17,5 @@ add_bin_exec_command $PRODUCT $PRODUCTDIR/$PRODUCTCUR ...@@ -17,3 +17,5 @@ add_bin_exec_command $PRODUCT $PRODUCTDIR/$PRODUCTCUR
fix_chrome_sandbox fix_chrome_sandbox
fix_desktop_file /opt/Sferum/sferum fix_desktop_file /opt/Sferum/sferum
set_autoreq 'yes'
...@@ -12,7 +12,7 @@ PRODUCTDIR=/opt/$PRODUCTCUR ...@@ -12,7 +12,7 @@ PRODUCTDIR=/opt/$PRODUCTCUR
install_deps install_deps
subst '1iAutoProv:no' $SPEC set_autoreq 'yes'
subst "s|.*/etc/apt.*||" $SPEC subst "s|.*/etc/apt.*||" $SPEC
subst '/linux-arm64/d' $SPEC subst '/linux-arm64/d' $SPEC
......
...@@ -17,7 +17,7 @@ move_to_opt /usr/share/skypeforlinux ...@@ -17,7 +17,7 @@ move_to_opt /usr/share/skypeforlinux
subst "s|^SKYPE_PATH=.*|SKYPE_PATH=$PRODUCTDIR/skypeforlinux|" $BUILDROOT/usr/bin/skypeforlinux subst "s|^SKYPE_PATH=.*|SKYPE_PATH=$PRODUCTDIR/skypeforlinux|" $BUILDROOT/usr/bin/skypeforlinux
subst '1iAutoProv:no' $SPEC set_autoreq 'yes'
# ignore embedded libs # ignore embedded libs
drop_embedded_reqs drop_embedded_reqs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment