Compare commits

..

3 Commits

6 changed files with 15 additions and 53 deletions

View File

@ -1,2 +1,2 @@
VERSION=1.28.1 VERSION=1.29
RELEASE=1mamba RELEASE=1mamba

View File

@ -1,3 +1,8 @@
# Italian translation.
# Copyright (C) 2004-2013 Davide Madrisan
# This file is distributed under the same license as the autospec package.
# Davide Madrisan <davide.madrisan@gmail.com>, 2004-2013.
#
msgid "this script requires bash version 2 or better" msgid "this script requires bash version 2 or better"
msgstr "questo script richiede bash versione 2 o superiore" msgstr "questo script richiede bash versione 2 o superiore"
@ -930,6 +935,9 @@ msgstr "sembra un modulo python (in questo caso usa \\`-t python')"
msgid "created specfile" msgid "created specfile"
msgstr "creato specfile" msgstr "creato specfile"
msgid "checking Source URL with: "
msgstr "controllo della URL sorgente con: "
msgid "redirect detected: replacing from \\`$SPEC_URL' to " msgid "redirect detected: replacing from \\`$SPEC_URL' to "
"\\`${http_effective_url}'" "\\`${http_effective_url}'"
msgstr "redirezione rilevata: sostituzione da \\`$SPEC_URL' a " msgstr "redirezione rilevata: sostituzione da \\`$SPEC_URL' a "
@ -956,11 +964,6 @@ msgstr "manca almeno una direttiva \\`%defattr'"
msgid "use rpm macros if possible:" msgid "use rpm macros if possible:"
msgstr "utilizzare le macro rpm quando possibile:" msgstr "utilizzare le macro rpm quando possibile:"
# Italian translation.
# Copyright (C) 2004-2013 Davide Madrisan
# This file is distributed under the same license as the autospec package.
# Davide Madrisan <davide.madrisan@gmail.com>, 2004-2013.
#
msgid "" msgid ""
msgstr "Project-Id-Version: autospec 1.16.4\n" msgstr "Project-Id-Version: autospec 1.16.4\n"
"Report-Msgid-Bugs-To: davide.madrisan@gmail.com\n" "Report-Msgid-Bugs-To: davide.madrisan@gmail.com\n"
@ -1099,12 +1102,3 @@ msgid "${NOTE}Security checks: ${#rpmpkg_name[@]} package(s) checked: "
"${NORM}${WARN}$total_issues${NORM}${NOTE} warning(s).${NORM}" "${NORM}${WARN}$total_issues${NORM}${NOTE} warning(s).${NORM}"
msgstr "${NOTE}Controlli di sicurezza: pacchetti rpm: ${#rpmpkg_name[@]}; " msgstr "${NOTE}Controlli di sicurezza: pacchetti rpm: ${#rpmpkg_name[@]}; "
"problemi riscontrati: ${NORM}${WARN}$total_issues${NORM}" "problemi riscontrati: ${NORM}${WARN}$total_issues${NORM}"
#~ msgid "replacing the AUTOBUILDREQ block by:"
#~ msgstr "sostituzione del blocco AUTOBUILDREQ con:"
#~ msgid "server unreachable"
#~ msgstr "server non raggiungibile"
#~ msgid "invalid version number"
#~ msgstr "numero di versione non valido"

View File

@ -54,28 +54,14 @@ This package contains libraries and header files for developing applications tha
%makeinstall -C build %makeinstall -C build
@if:i18n @if:i18n
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang %find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
@fi:i18n @fi:i18n
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
@if:shared_libraries
## remove the following line if no dynamic libraries are provided by this package
/sbin/ldconfig
@fi:shared_libraries
exit 0
%postun -n lib%{name}
@if:shared_libraries
## remove the following line if no dynamic libraries are provided by this package
/sbin/ldconfig
@fi:shared_libraries
exit 0
@if:i18n @if:i18n
%files -f %{name}5_qt.lang %files -f %{name}.lang
@else:i18n @else:i18n
%files %files
@fi:i18n @fi:i18n

View File

@ -62,20 +62,6 @@ This package contains libraries and header files for developing applications tha
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
@if:shared_libraries
## remove the following line if no dynamic libraries are provided by this package
/sbin/ldconfig
@fi:shared_libraries
exit 0
%postun -n lib%{name}
@if:shared_libraries
## remove the following line if no dynamic libraries are provided by this package
/sbin/ldconfig
@fi:shared_libraries
exit 0
@if:i18n @if:i18n
%files -f %{name}.lang %files -f %{name}.lang
@else:i18n @else:i18n

View File

@ -110,14 +110,6 @@ This package includes the %{name} API documentation.
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@if:pck_library
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
@else:pck_library
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@fi:pck_library
@if:infopages @if:infopages
@if:pck_library @if:pck_library
%post -n lib%{name}-devel %post -n lib%{name}-devel

View File

@ -49,6 +49,10 @@ function specfile.checksyntax() {
notify.note "$(test.num2str). ${NOTE}"\ notify.note "$(test.num2str). ${NOTE}"\
"url""${NORM}..." "url""${NORM}..."
if [[ "$SPEC_URL" ]]; then if [[ "$SPEC_URL" ]]; then
{ notify.debug "\
\`url': "$"checking Source URL with: ""\`curl -s -o /dev/null -w \"%{http_code}\" -A \"${user_agent}\" $SPEC_URL'"
}
http_code=`curl -s -o /dev/null -w "%{http_code}" -A "${user_agent}" $SPEC_URL` http_code=`curl -s -o /dev/null -w "%{http_code}" -A "${user_agent}" $SPEC_URL`
if [ "$http_code" != "200" ]; then if [ "$http_code" != "200" ]; then
if [ "${http_code:0:2}" == "30" ]; then if [ "${http_code:0:2}" == "30" ]; then