/
githubmirror
/
rpm
Обзор
Документация
Войти
/
githubmirror
/
rpm
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/SPECS/weirdnames.spec
44 строки
796 B
Panu Matilainen
Avoid special characters from %{VERSION} in %builddir
12 июн 2024, 18:01
12 июн 2024, 18:01
d90db6a
Код
Авторство
О чём код?
%bcond_with illegal %bcond_with weirdver Name: weirdnames %if %{with weirdver} Version: 1.0~aa^bb %else Version: 1.0 %endif Release: 1 Summary: Testing weird filename behavior License: GPL BuildArch: noarch %description %{summary} %build %install mkdir -p %{buildroot}/opt cd %{buildroot}/opt touch "foo'ed" 'bar"ed' "just space" "\$talks" \ "to?be" "the * are falling" '#nocomment' "(maybe)" \ "perhaps;not" "true:false" "!absolutely" "&ground" \ "after{all}" "index[this]" "equals=not" "tee|two" "~right" \ "<namehere>" %if %{with illegal} touch "only time" # the dependency generator cannot handle newlines in filenames touch "new line" %endif for f in *; do echo -e "#!/bin/ary\ndada\n" > ${f} done chmod a+x * # script.req fails on the backslash touch "\.back" %files /opt/*