From 87bcfb6ca73513e916ee079c103561c03476eae9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 19 May 2021 19:55:23 +0200 Subject: [PATCH] templates: update default URLs and some other small changes --- templates/gnome | 5 ++--- templates/kde5 | 4 ++-- templates/perl | 5 ++--- templates/python | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/templates/gnome b/templates/gnome index e6fa93c..bcafaa1 100644 --- a/templates/gnome +++ b/templates/gnome @@ -12,9 +12,8 @@ Group: ... Vendor: @VENDOR@ Distribution: @DISTRO@ Packager: @packager_fullname@ <@packager_email@> -URL: http://www.gnome.org -# bugfixes: http://ftp.acc.umu.se/pub/GNOME/sources/%{pkgname}-*.tar.bz2 -Source: http://ftp.gnome.org/pub/GNOME/%{gnomegroup}/%{gnomemajver}/%{gnomever}/sources/%{pkgname}-%{version}.tar.bz2 +URL: https://www.gnome.org +Source: https://download.gnome.org/pub/GNOME/%{gnomegroup}/%{gnomemajver}/%{gnomever}/sources/%{pkgname}-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. diff --git a/templates/kde5 b/templates/kde5 index 860eeb6..b0d0d96 100644 --- a/templates/kde5 +++ b/templates/kde5 @@ -8,9 +8,9 @@ Group: ... Vendor: @VENDOR@ Distribution: @DISTRO@ Packager: @packager_fullname@ <@packager_email@> -URL: http://www.kde.org +URL: https://kde.org Source: ... -# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz +# Source: https://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz License: ... ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. diff --git a/templates/perl b/templates/perl index 088c9be..1c6eba2 100644 --- a/templates/perl +++ b/templates/perl @@ -8,13 +8,12 @@ Group: System/Libraries/Perl Vendor: @VENDOR@ Distribution: @DISTRO@ Packager: @packager_fullname@ <@packager_email@> -URL: http://www.cpan.org -Source: http://www.cpan.org/modules/by-module/... +URL: https://www.cpan.org +Source: https://www.cpan.org/modules/by-module/... License: GPL, Artistic ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. ## AUTOBUILDREQ-END -BuildRequires: perl-devel Requires: perl >= %perl_major_ver %description diff --git a/templates/python b/templates/python index 700bff9..d3aca01 100644 --- a/templates/python +++ b/templates/python @@ -41,8 +41,8 @@ sed -i "\\,\\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) ## note: this list is just an example; modify as required -#%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info -#%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* @standard_docs@ ## note: add extra documentation (if any) # @standard_docs_devel@