#320 update links to new Fedora Packaging Guidelines
Merged 5 years ago by ngompa. Opened 5 years ago by msuchy.
msuchy/FedoraReview links  into  devel

file modified
+1 -1
@@ -346,5 +346,5 @@ 

  https://fedorahosted.org/FedoraReview/

  source, issue tracker, etc.

  .TP

- http://fedoraproject.org/wiki/Packaging:Guidelines

+ https://docs.fedoraproject.org/en-US/packaging-guidelines/

  Rules for Fedora packages.

file modified
+6 -6
@@ -83,7 +83,7 @@ 

      def __init__(self, base):

          """ Instanciate check variable """

          RCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:R'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/R/'

          self.text = 'Package contains the mandatory BuildRequires.'

          self.automatic = True

  
@@ -105,7 +105,7 @@ 

      def __init__(self, base):

          """ Instanciate check variable """

          RCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:R'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/R/'

          self.text = 'Package requires R-core.'

          self.automatic = True

  
@@ -125,7 +125,7 @@ 

      def __init__(self, base):

          """ Instanciate check variable """

          RCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:R'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/R/'

          self.automatic = True

          self.text = 'Package have the default element marked as %%doc :'

  
@@ -152,7 +152,7 @@ 

      def __init__(self, base):

          """ Instanciate check variable """

          RCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Guidelines'

+         self.url = 'ihttps://docs.fedoraproject.org/en-US/packaging-guidelines/'

          self.text = 'Latest version is packaged.'

          self.automatic = True

          self.type = 'SHOULD'
@@ -180,7 +180,7 @@ 

      def __init__(self, base):

          """ Instantiate check variable """

          RCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Guidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/'

          self.text = 'The %check macro is present'

          self.automatic = True

          self.type = 'SHOULD'
@@ -197,7 +197,7 @@ 

      def __init__(self, base):

          """ Instanciate check variable """

          RCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:R'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/R/'

          self.text = 'The package has the standard %install section.'

          self.automatic = True

          self.type = 'MUST'

file modified
+19 -17
@@ -45,8 +45,8 @@ 

      '''

      def __init__(self, base):

          CCppCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging' \

-                    '/Guidelines#Shared_Libraries'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_shared_libraries'

          self.text = 'ldconfig called in %post and %postun if required.'

          self.automatic = True

          self.type = 'MUST'
@@ -101,8 +101,8 @@ 

      '''

      def __init__(self, base):

          CCppCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/Guidelines' \

-                    '#DevelPackages'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_devel_packages'

          self.text = 'Header files in -devel subpackage, if present.'

          self.automatic = True

          self.type = 'MUST'
@@ -134,8 +134,8 @@ 

  

      def __init__(self, base):

          CCppCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/Guidelines' \

-                    '#Staticly_Linking_Executables'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_statically_linking_executables'

          self.text = 'Package contains no static executables.'

          self.automatic = False

          self.type = 'MUST'
@@ -149,8 +149,8 @@ 

      '''

      def __init__(self, base):

          CCppCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/Guidelines' \

-                    '#DevelPackages'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_devel_packages'

          self.text = 'Development (unversioned) .so files ' \

                      'in -devel subpackage, if present.'

          self.automatic = True
@@ -203,8 +203,8 @@ 

      '''

      def __init__(self, base):

          CCppCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/Guidelines' \

-                    '#StaticLibraries'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#packaging-static-libraries'

          self.text = 'Package does not contain any libtool archives (.la)'

          self.automatic = True

          self.type = 'MUST'
@@ -226,8 +226,8 @@ 

  

      def __init__(self, base):

          CCppCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/Guidelines' \

-                    '#Beware_of_Rpath'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_beware_of_rpath'

          self.text = 'Rpath absent or only used for internal libs.'

          self.automatic = True

          self.type = 'MUST'
@@ -250,8 +250,8 @@ 

  

      def __init__(self, base):

          CCppCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:' \

-                    'No_Bundled_Libraries#Requirement_if_you_bundle'

+         self.url = 'https://fedoraproject.org/wiki' \

+                    '/Bundled_Libraries#Requirement_if_you_bundle'

          self.text = 'Provides: bundled(gnulib) in place as required.'

          self.automatic = True

          self.type = 'MUST'
@@ -282,8 +282,9 @@ 

      '''

      def __init__(self, base):

          CCppCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/Guidelines' \

-                    '#No_External_Kernel_Modules'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/what-can-be-packaged' \

+                    '/#_no_external_kernel_modules'

          self.text = 'Package does not contain kernel modules.'

          self.automatic = False

          self.type = 'MUST'
@@ -293,7 +294,8 @@ 

      """ Check that gcc/gcc-c++/clang is present """

      def __init__(self, base):

          CCppCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines' \

+                    '/C_and_C++/'

          self.text = 'If your application is a C or C++ application you must ' \

                      'list a BuildRequires against gcc, gcc-c++ or clang.'

          self.automatic = True

file modified
+1 -1
@@ -23,4 +23,4 @@ 

      """ Base class for all fonts specific checks. """

      def __init__(self, base):

          CheckBase.__init__(self, base, __file__)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:FontsPolicy'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/FontsPolicy/'

file modified
+111 -102
@@ -90,8 +90,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/LicensingGuidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/LicensingGuidelines/'

          self.text = 'Package is licensed with an open-source'       \

                      ' compatible license and meets other legal'     \

                      ' requirements as defined in the legal section' \
@@ -106,8 +106,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging:Guidelines#Duplication_of_system_libraries'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#bundling'

          self.text = 'Package contains no bundled libraries without' \

                      ' FPC exception.'

          self.automatic = True
@@ -136,8 +136,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Compiler_flags'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_compiler_flags'

          self.text = '%build honors applicable compiler flags or ' \

                      'justifies otherwise.'

          self.automatic = True
@@ -157,8 +157,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Changelogs'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#changelogs'

          self.text = 'Changelog in prescribed format.'

          self.automatic = False

          self.type = 'MUST'
@@ -169,8 +169,9 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#CodeVsContent'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/what-can-be-packaged' \

+                    '/#_impermissible_content'

          self.text = 'Sources contain only permissible' \

                      ' code or content.'

          self.automatic = False
@@ -182,8 +183,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Configuration_files'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_configuration_files'

          self.text = '%config files are marked noreplace or the reason' \

                      ' is justified.'

          self.automatic = True
@@ -249,8 +250,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:Guidelines?' \

-                    'rd=Packaging/Guidelines#Compiler_flags'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_compiler_flags'

          self.text = 'Package uses hardened build flags if required to.'

          self.automatic = True

          self.needs.append('generic-large-data')      # Ensure unpacked rpms
@@ -293,8 +294,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#FilePermissions'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_file_permissions'

          self.text = 'Each %files section contains %defattr if rpm < 4.4'

          self.automatic = True

  
@@ -319,8 +320,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Source_RPM_Buildtime_Macros'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_source_rpm_buildtime_macros'

          self.text = 'Macros in Summary, %description expandable at' \

                      ' SRPM build time.'

          self.automatic = True
@@ -349,8 +350,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#desktop'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_desktop_files'

          self.text = 'Package contains desktop file if it is a GUI' \

                      ' application.'

          self.automatic = True
@@ -369,8 +370,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#desktop'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_desktop_files'

          self.text = 'Package installs a  %{name}.desktop using' \

                      ' desktop-file-install or desktop-file-validate' \

                      ' if there is such a file.'
@@ -392,8 +393,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#DevelPackages'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_devel_packages'

          self.text = 'Development files must be in a -devel package'

          self.automatic = False

          self.type = 'MUST'
@@ -404,7 +405,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:DistTag'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/DistTag/'

          self.text = 'Dist tag is present.'

          self.automatic = True

          self.type = 'MUST'
@@ -427,7 +429,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Guidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_file_and_directory_ownership'

          self.text = 'Package requires other packages for directories it uses.'

          self.automatic = True

          self.type = 'MUST'
@@ -465,12 +468,11 @@ 

      MUST: If a package includes something as %doc, it must not affect

      the runtime of the application.  To summarize: If it is in %doc,

      the program must run properly if it is not present.

-     http://fedoraproject.org/wiki/Packaging/Guidelines#PackageDocumentation

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#PackageDocumentation'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_documentation'

          self.text = 'Package uses nothing in %doc for runtime.'

          self.automatic = False

          self.type = 'MUST'
@@ -488,8 +490,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Architecture_Build_Failures'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_architecture_build_failures'

          self.text = 'Package is not known to require ExcludeArch.'

          self.automatic = False

          self.type = 'MUST'
@@ -503,8 +505,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#DuplicateFiles'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_duplicate_files'

          self.text = 'Package does not contain duplicates in %files.'

          self.automatic = True

          self.type = 'MUST'
@@ -533,8 +535,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#FilePermissions'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_file_permissions'

          self.text = 'Permissions on files are set properly.'

          self.automatic = True

          self.type = 'MUST'
@@ -558,7 +560,7 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:Guidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/'

          self.text = 'Package complies to the Packaging Guidelines'

          self.automatic = False

          self.type = 'MUST'
@@ -573,8 +575,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#PackageDocumentation'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_documentation'

          self.text = 'Large documentation files are in a -doc' \

                      ' subpackage, if required.'

          self.automatic = False
@@ -592,8 +594,9 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/' \

-                    'LicensingGuidelines#ValidLicenseShortNames'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/LicensingGuidelines/' \

+                    '#_valid_license_short_names'

          self.text = 'License field in the package spec file' \

                      ' matches the actual license.'

          self.automatic = True
@@ -697,8 +700,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/LicensingGuidelines#License_Text'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/LicensingGuidelines/#_license_text'

          if not (self.flags['EPEL5'] or self.flags['EPEL6']):

              self._license_flag = 'L'

              self._license_macro = '%license'
@@ -774,8 +777,9 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/LicensingGuidelines#Subpackage_Licensing'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/LicensingGuidelines' \

+                    '/#subpackage-licensing'

          self.text = 'License file installed when any subpackage' \

                      ' combination is installed.'

          self.automatic = False
@@ -794,8 +798,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Handling_Locale_Files'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_handling_locale_files'

          self.text = 'The spec file handles locales properly.'

          self.automatic = False

          self.type = 'MUST'
@@ -809,8 +813,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/' \

-                    'wiki/Packaging/Guidelines#macros'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_macros'

          self.text = 'Package consistently uses macros' \

                      ' (instead of hard-coded directory names).'

          self.automatic = False
@@ -822,8 +826,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/' \

-                    'wiki/Packaging/Guidelines#macros'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_macros'

          self.text = 'Package uses either  %{buildroot} or $RPM_BUILD_ROOT'

          self.automatic = True

          self.type = 'MUST'
@@ -843,8 +847,9 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/Guidelines' \

-                    '#Why_the_.25makeinstall_macro_should_not_be_used'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/' \

+                    '#_why_the_makeinstall_macro_should_not_be_used'

          self.text = "Package use %makeinstall only when make install" \

                      " DESTDIR=... doesn't work."

          self.automatic = True
@@ -866,8 +871,9 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/LicensingGuidelines#Multiple_Licensing_Scenarios'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/LicensingGuidelines' \

+                    '/#_multiple_licensing_scenarios'

          self.text = 'If the package is under multiple licenses, the licensing'\

                      ' breakdown must be documented in the spec.'

          self.automatic = False
@@ -885,7 +891,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/NamingGuidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/Naming/'

          self.text = 'Package is named using only allowed ASCII characters.'

          self.automatic = True

          self.type = 'MUST'
@@ -914,7 +921,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/NamingGuidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/Naming/'

          self.text = 'Package is named according to the Package Naming' \

                      ' Guidelines.'

          self.automatic = False
@@ -926,8 +934,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Configuration_files'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_configuration_files'

          self.text = 'No %config files under /usr.'

          self.automatic = False

          self.type = 'MUST'
@@ -961,8 +969,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/' \

-                    'wiki/Packaging/Guidelines#Conflicts'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_conflicts'

          self.text = 'Package does not generate any conflict.'

          self.automatic = True

          self.type = 'MUST'
@@ -980,8 +988,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Filesystem_Layout'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_filesystem_layout'

          self.text = 'Package obeys FHS, except libexecdir and /usr/target.'

          self.automatic = False

          self.type = 'MUST'
@@ -992,8 +1000,9 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Guidelines' \

-                    'Renaming.2FReplacing_Existing_Packages'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines' \

+                    '/#renaming-or-replacing-existing-packages'

          self.text = 'If the package is a rename of another package, proper' \

                      ' Obsoletes and Provides are present.'

          self.automatic = False
@@ -1011,8 +1020,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#FileAndDirectoryOwnership'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_file_and_directory_ownership'

          self.text = 'Package must own all directories that it creates.'

          self.automatic = True

          self.type = 'MUST'
@@ -1099,8 +1108,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#FileAndDirectoryOwnership'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_file_and_directory_ownership'

          self.text = 'Package does not own files or directories' \

                      ' owned by other packages.'

          self.automatic = True
@@ -1156,8 +1165,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#RelocatablePackages'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_relocatable_packages'

          self.text = 'Package is not relocatable.'

          self.automatic = False

          self.type = 'MUST'
@@ -1177,7 +1186,7 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

+         self.url = 'https://fedoraproject.org/wiki/' \

                     'EPEL/GuidelinesAndPolicies#EL5'

          self.text = 'EPEL5: Package requires pkgconfig, if .pc files' \

                      ' are present.'
@@ -1198,12 +1207,12 @@ 

  

  class CheckRequires(GenericCheckBase):

      '''

-     http://fedoraproject.org/wiki/Packaging/Guidelines#Requires

+     https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_requires

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Requires'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_explicit_requires'

          self.text = 'Requires correct, justified where necessary.'

          self.automatic = False

          self.type = 'MUST'
@@ -1219,7 +1228,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/SourceURL'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/SourceURL/'

          self.text = 'Sources used to build the package match the' \

                      ' upstream source, as provided in the spec URL.'

          self.automatic = True
@@ -1320,8 +1330,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Spec_Legibility'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_spec_legibility'

          self.text = 'Spec file is legible and written in American English.'

          self.automatic = False

          self.type = 'MUST'
@@ -1334,8 +1344,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/NamingGuidelines#Spec_file_name'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_spec_file_naming'

          self.text = 'Spec file name must match the spec package' \

                      ' %{name}, in the format %{name}.spec.'

          self.automatic = True
@@ -1354,8 +1364,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/Guidelines' \

-                    '#StaticLibraries'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#packaging-static-libraries'

          self.text = 'Static libraries in -static or -devel subpackage, ' \

                       'providing  -devel if present.'

          self.automatic = False
@@ -1396,7 +1406,7 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Guidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/'

          self.text = 'Package contains  systemd file(s) if in need.'

          self.automatic = True

          self.type = 'MUST'
@@ -1414,8 +1424,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#FilenameEncoding'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_non_ascii_filenames'

          self.text = 'File names are valid UTF-8.'

          self.automatic = True

          self.type = 'MUST'
@@ -1442,8 +1452,8 @@ 

      '''

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Debuginfo_packages'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_debuginfo_packages'

          self.text = 'Useful -debuginfo package or justification' \

                      ' otherwise.'

          self.automatic = False
@@ -1461,8 +1471,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = "https://fedoraproject.org/wiki/Packaging/" \

-                    "NamingGuidelines#Conflicting_Package_Names"

+         self.url = "https://docs.fedoraproject.org/en-US" \

+                    "/packaging-guidelines/Naming/#_conflicting_package_names"

          self.text = 'Package does not use a name that already exists.'

          self.automatic = True

          self.type = 'MUST'
@@ -1523,8 +1533,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:Guidelines' \

-                    '#Improper_use_of_.25_sourcedir'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_improper_use_of_sourcedir'

          self.text = 'Only use %_sourcedir in very specific situations.'

          self.automatic = True

          self.type = 'MUST'
@@ -1651,8 +1661,7 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging' \

-                    ':ScriptletSnippets#GIO_modules'

+         self.url = 'https://fedoraproject.org/wiki/EPEL:Packaging#GIO_modules'

          self.text = 'gio-querymodules is invoked in %postun and %post' \

                      ' if package has /lib/gio/modules/* files'

  
@@ -1785,8 +1794,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging' \

-                    ':ScriptletSnippets#GConf'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/Scriptlets/#_gconf'

          self.text = 'GConf schemas are properly installed'

          self.automatic = True

          self.type = 'MUST'
@@ -1813,8 +1822,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging' \

-                    ':ScriptletSnippets#Texinfo'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/Scriptlets/#_texinfo'

          self.text = 'Texinfo files are installed using install-info' \

                      ' in %post and %preun if package has .info files.'

          self.automatic = True
@@ -1888,8 +1897,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging' \

-                    ':Scriptlets#Scriptlets'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/Scriptlets/#_scriptlets'

          self.text = 'systemd_post is invoked in %post, systemd_preun in' \

                      ' %preun, and systemd_postun in %postun for Systemd' \

                      ' service files.'
@@ -1921,8 +1930,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging' \

-                    ':Scriptlets#User_units'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/Scriptlets/#_user_units'

          self.text = 'systemd_user_post is invoked in %post and' \

                      ' systemd_user_preun in %preun for Systemd' \

                      ' user units service files.'
@@ -1956,8 +1965,8 @@ 

  

      def __init__(self, base):

          GenericCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:' \

-             'Deprecating_Packages'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/deprecating-packages/'

          self.text = 'Package must not depend on deprecated() packages.'

          self.automatic = True

          self.type = 'MUST'

file modified
+8 -8
@@ -163,8 +163,8 @@ 

  

      def __init__(self, base):

          BuildCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Architecture_Support'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_architecture_support'

          self.text = 'Package successfully compiles and builds into' \

                      ' binary rpms on at least one supported primary' \

                      ' architecture.'
@@ -215,7 +215,7 @@ 

      '''

      def __init__(self, base):

          BuildCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/Guidelines#rpmlint'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/#_use_rpmlint'

          self.text = 'Rpmlint is run on all rpms the build produces.'

          self.automatic = True

          self.type = 'MUST'
@@ -237,7 +237,7 @@ 

  

      def __init__(self, base):

          BuildCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Guidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/'

          self.text = 'Package installs properly.'

          self.automatic = True

          self.type = 'MUST'
@@ -293,8 +293,8 @@ 

      '''

      def __init__(self, base):

          BuildCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#rpmlint'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_use_rpmlint'

          self.text = 'Rpmlint is run on all installed packages.'

          self.automatic = True

          self.type = 'EXTRA'
@@ -326,8 +326,8 @@ 

      '''

      def __init__(self, base):

          BuildCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#rpmlint'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_use_rpmlint'

          self.text = 'Rpmlint is run on debuginfo package(s).'

          self.automatic = True

          self.type = 'EXTRA'

file modified
+47 -46
@@ -55,11 +55,11 @@ 

  class CheckBuildInMock(GenericShouldCheckBase):

      '''

      SHOULD: The reviewer should test that the package builds in mock.

-     http://fedoraproject.org/wiki/PackageMaintainers/MockTricks

+     https://fedoraproject.org/wiki/PackageMaintainers/MockTricks

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

+         self.url = 'https://fedoraproject.org/wiki/' \

                     'PackageMaintainers/MockTricks'

          self.text = 'Reviewer should test that the package builds in mock.'

          self.automatic = True
@@ -74,8 +74,7 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#BuildRoot_tag'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/'

          self.text = 'Buildroot is not present'

          self.automatic = True

          self.type = 'SHOULD'
@@ -121,8 +120,8 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#.25clean'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_tags_and_sections'

          self.text = 'Package has no %clean section with rm -rf' \

                      ' %{buildroot} (or $RPM_BUILD_ROOT)'

          self.automatic = True
@@ -159,8 +158,8 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/LicensingGuidelines#License_Text'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/LicensingGuidelines/#_license_text'

          self.text = 'If the source package does not include license' \

                      ' text(s) as a separate file from upstream, the' \

                      ' packager SHOULD query upstream to include it.'
@@ -176,8 +175,8 @@ 

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#FileDeps'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_file_and_directory_dependencies'

          self.text = 'No file requires outside of' \

                      ' /etc, /bin, /sbin, /usr/bin, /usr/sbin.'

          self.automatic = True
@@ -233,7 +232,7 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Guidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/'

          self.text = 'Final provides and requires are sane' \

                      ' (see attachments).'

          self.automatic = False
@@ -247,7 +246,7 @@ 

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Guidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/'

          self.text = 'Package functions as described.'

          self.automatic = False

          self.type = 'SHOULD'
@@ -261,8 +260,8 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#RequiringBasePackage'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_requiring_base_package'

          self.text = 'Fully versioned dependency in subpackages' \

                      ' if applicable.'

          self.automatic = True
@@ -301,7 +300,8 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:Guidelines#Tags'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_tags_and_sections'

          self.text = 'Packager, Vendor, PreReq, Copyright tags should not be ' \

                      'in spec file'

          self.automatic = True
@@ -328,7 +328,7 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Guidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/'

          self.text = 'Latest version is packaged.'

          self.automatic = False

          self.type = 'SHOULD'
@@ -342,8 +342,8 @@ 

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/LicensingGuidelines#License_Text'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/LicensingGuidelines/#_license_text'

          self.text = 'Package does not include license text files' \

                      ' separate from upstream.'

          self.automatic = False
@@ -358,8 +358,8 @@ 

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Man_pages'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_manpages'

          self.text = 'Man pages included for all executables.'

          self.automatic = False

          self.type = 'SHOULD'
@@ -373,7 +373,8 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Guidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_parallel_make'

          self.text = 'Uses parallel make %{?_smp_mflags} macro.'

          self.automatic = False

          self.type = 'SHOULD'
@@ -395,8 +396,8 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/' \

-                    'Packaging:Guidelines'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_patch_guidelines'

          self.text = 'Patches link to upstream bugs/comments/lists' \

                      ' or are otherwise justified.'

          self.automatic = False
@@ -416,8 +417,8 @@ 

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#PkgconfigFiles'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_pkgconfig_files_foo_pc'

          self.text = 'The placement of pkgconfig(.pc) files are correct.'

          self.automatic = True

          self.type = 'SHOULD'
@@ -448,7 +449,7 @@ 

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'https://fedorahosted.org/FedoraReview'

+         self.url = 'https://pagure.io/FedoraReview'

          self.text = 'When checking ruby code, install the ruby plugin.'

          self.automatic = True

          self.type = 'EXTRA'
@@ -469,8 +470,8 @@ 

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Scriptlets'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_scriptlets'

          self.text = 'Scriptlets must be sane, if used.'

          self.automatic = False

          self.type = 'SHOULD'
@@ -484,7 +485,7 @@ 

      ''' Source tarballs shoud have comment on how to generate it. '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:SourceURL'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/'

          self.text = 'SourceX tarball generation or download is documented.'

          self.automatic = True

          self.type = 'SHOULD'
@@ -509,7 +510,7 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/SourceURL'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/'

          self.text = 'SourceX is a working URL.'

          self.type = 'SHOULD'

          self.automatic = True
@@ -587,8 +588,8 @@ 

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#summary'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_summary_and_description'

          self.text = 'Description and summary sections in the' \

                      ' package spec file contains translations' \

                      ' for supported Non-English languages, if available.'
@@ -603,8 +604,8 @@ 

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#ArchitectureSupport'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_architecture_support'

          self.text = 'Package should compile and build into binary' \

                      ' rpms on all supported architectures.'

          self.automatic = True
@@ -624,12 +625,12 @@ 

  

  class CheckTestSuites(GenericShouldCheckBase):

      '''

-     http://fedoraproject.org/wiki/Packaging/Guidelines#Test_Suites

+     https://docs.fedoraproject.org/en-US/packaging-guidelines/#_test_suites

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Test_Suites'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_test_suites'

          self.text = '%check is present and all tests pass.'

          self.automatic = False

          self.type = 'SHOULD'
@@ -640,8 +641,8 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/' \

-                    'Packaging/Guidelines#Timestamps'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_timestamps'

          self.text = 'Packages should try to preserve timestamps of' \

                      ' original installed files.'

          self.automatic = False
@@ -653,8 +654,8 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging/' \

-                    'Guidelines#.25global_preferred_over_.25define'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_global_preferred_over_define'

          self.text = 'Spec use %global instead of %define unless' \

                      ' justified.'

          self.automatic = True
@@ -677,7 +678,7 @@ 

      '''

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Tmpfiles.d'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/Tmpfiles.d/'

          self.text = 'Files in /run, var/run and /var/lock uses tmpfiles.d' \

                      ' when appropriate'

          self.automatic = True
@@ -700,8 +701,8 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:Guidelines' \

-                    '#Avoid_bundling_of_fonts_in_other_packages'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_avoid_bundling_of_fonts_in_other_packages'

          self.text = 'Avoid bundling fonts in non-fonts packages. '

          self.automatic = True

          self.type = 'SHOULD'
@@ -724,8 +725,8 @@ 

  

      def __init__(self, base):

          GenericShouldCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:Guidelines' \

-                    '#Tags'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/SourceURL/'

          self.text = 'Sources can be downloaded from URI in Source: tag'

          self.automatic = True

          self.type = 'SHOULD'

file modified
+1 -1
@@ -1,7 +1,7 @@ 

  # -*- coding: utf-8 -*-

  

  '''

- Haskell specifics checks, http://fedoraproject.org/wiki/Packaging:Haskell

+ Haskell specifics checks, https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/

  '''

  

  from FedoraReview import CheckBase, RegistryBase

file modified
+1 -1
@@ -1,7 +1,7 @@ 

  # -*- coding: utf-8 -*-

  

  '''

- Ocaml specifics checks, http://fedoraproject.org/wiki/Packaging:Ocaml

+ Ocaml specifics checks, https://docs.fedoraproject.org/en-US/packaging-guidelines/OCaml/

  '''

  

  from FedoraReview import CheckBase, RegistryBase

file modified
+1 -1
@@ -30,7 +30,7 @@ 

  

      def __init__(self, checks):

          PerlCheckBase.__init__(self, checks)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:Perl'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/Perl/'

          self.text = 'Package contains the mandatory BuildRequires' \

                      ' and Requires:.'

          self.automatic = True

file modified
+1 -1
@@ -1,6 +1,6 @@ 

  # -*- coding: utf-8 -*-

  

- ''' PHP specifics checks, http://fedoraproject.org/wiki/Packaging:PHP '''

+ ''' PHP specifics checks, https://docs.fedoraproject.org/en-US/packaging-guidelines/PHP/ '''

  

  from FedoraReview import CheckBase, RegistryBase

  

file modified
+1 -1
@@ -33,7 +33,7 @@ 

      def __init__(self, base):

          """ Instanciate check variable """

          RCheckBase.__init__(self, base)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:R'

+         self.url = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/R/'

          self.text = 'Package requires R-core.'

          self.automatic = True

  

file modified
+4 -4
@@ -31,8 +31,8 @@ 

  

      def __init__(self, checks):

          PythonCheckBase.__init__(self, checks)

-         self.url = 'http://fedoraproject.org/wiki/Packaging:Python' \

-                    '#BuildRequires'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/Python/#_dependencies'

          self.text = 'Package contains BR: python2-devel or python3-devel'

          self.automatic = True

  
@@ -46,8 +46,8 @@ 

      """ Check that there is no unversioned Python dependencies """

      def __init__(self, base):

          PythonCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Python' \

-                    '#Dependencies'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/Python/#_dependencies'

          self.text = 'Packages MUST NOT have dependencies (either build-time ' \

              'or runtime) on packages named with the unversioned python- ' \

              'prefix unless no properly versioned package exists. ' \

file modified
+3 -3
@@ -6,7 +6,7 @@ 

  

  from FedoraReview import CheckBase, Mock, RegistryBase

  

- _GUIDELINES_URI = 'http://fedoraproject.org/wiki/Packaging:Ruby'

+ _GUIDELINES_URI = 'https://docs.fedoraproject.org/en-US/packaging-guidelines/Ruby/'

  _GUIDELINES_SECTION_URI = '%(uri)s#%%(section)s' % {'uri': _GUIDELINES_URI}

  

  
@@ -121,8 +121,8 @@ 

      """ Check if package is noarch """

      def __init__(self, base):

          RubyCheckBase.__init__(self, base)

-         self.url = 'https://fedoraproject.org/wiki/Packaging:Guidelines' \

-                    '#Architecture_Support'

+         self.url = 'https://docs.fedoraproject.org/en-US' \

+                    '/packaging-guidelines/#_architecture_support'

          self.text = 'Pure Ruby package must be built as noarch'

          self.automatic = True

  

file modified
+4 -4
@@ -20,7 +20,7 @@ 

  from FedoraReview import CheckBase, RegistryBase

  

  _SUGAR_URL = \

-     'https://fedoraproject.org/wiki/Packaging:SugarActivityGuidelines#'

+     'https://docs.fedoraproject.org/en-US/packaging-guidelines/SugarActivityGuidelines/#'

  

  

  class Registry(RegistryBase):
@@ -46,7 +46,7 @@ 

      ''' All activities MUST be named sugar-<activity name>  '''

      def __init__(self, base):

          SugarActivityCheckBase.__init__(self, base)

-         self.url = _SUGAR_URL + 'Naming'

+         self.url = _SUGAR_URL + '_naming'

          self.text = 'Sugar activities must be named sugar-<activity name>'

          self.type = 'MUST'

          self.automatic = True
@@ -62,7 +62,7 @@ 

      ''' All activities requires sugar-toolkit to build '''

      def __init__(self, base):

          SugarActivityCheckBase.__init__(self, base)

-         self.url = _SUGAR_URL + 'Necessary_BuildRequires'

+         self.url = _SUGAR_URL + '_necessary_buildrequires'

          self.text = 'Sugar activities depend on sugar-toolkit'

          self.type = 'MUST'

          self.automatic = True
@@ -76,7 +76,7 @@ 

      ''' All runtime dependency information MUST be manually added. '''

      def __init__(self, base):

          SugarActivityCheckBase.__init__(self, base)

-         self.url = _SUGAR_URL + 'Runtime_Dependencies'

+         self.url = _SUGAR_URL + '_runtime_dependencies'

          self.text = 'All runtime dependency information need to be' \

                      ' manually added.'

          self.type = 'MUST'

file modified
+4 -4
@@ -159,8 +159,8 @@ 

  *** REJECTED ***

  ================

  

- [1] https://fedoraproject.org/wiki/Packaging:NamingGuidelines

- [2] https://fedoraproject.org/wiki/Packaging:Guidelines

- [3] https://fedoraproject.org/wiki/Packaging:LicensingGuidelines

+ [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/

+ [2] https://docs.fedoraproject.org/en-US/packaging-guidelines/

+ [3] https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/

  [4] https://fedoraproject.org/wiki/Licensing:Main

- [6] https://fedoraproject.org/wiki/Packaging:Java#Filenames

+ [6] https://docs.fedoraproject.org/en-US/packaging-guidelines/Java/#_filenames

@@ -1,6 +1,6 @@ 

  #!/bin/bash

  # @group: Generic

- # @url: http://fedoraproject.org/wiki/Packaging:ReviewGuidelines#Package_Review_Guidelines

+ # @url: https://fedoraproject.org/wiki/Packaging:ReviewGuidelines#Package_Review_Guidelines

  # @text: Large data in /usr/share should live in a noarch subpackage

  # @text: if package is arched.

  # @type: EXTRA

@@ -1,7 +1,7 @@ 

  #!/bin/bash

  # @deprecates: CheckLargeDocs

  # @group: Generic

- # @url: http://fedoraproject.org/wiki/Packaging/Guidelines#PackageDocumentation

+ # @url: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_documentation

  # @text: Large documentation must go in a -doc subpackage. Large could be size

  # @text: (~1MB) or number of files.

  

file modified
+1 -1
@@ -1,7 +1,7 @@ 

  #!/bin/bash

  # @group: Generic

  # @name: generic-srv-opt

- # @url: http://fedoraproject.org/wiki/Packaging/Guidelines#PackageDocumentation

+ # @url: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_documentation

  # @text: Packages must not store files under /srv, /opt or /usr/local

  # @type: MUST

  

@@ -2,7 +2,7 @@ 

  # @deprecates: CheckBundledJars

  # @group: Java

  # @type: MUST

- # @url:http://fedoraproject.org/wiki/Packaging:Java#Pre-built_JAR_files_.2F_Other_bundled_software'

+ # @url:https://docs.fedoraproject.org/en-US/packaging-guidelines/Java/#_pre_built_dependencies

  # @text: Bundled jar/class files should be removed before build

  

  cd BUILD &>/dev/null || {

file modified
+1 -1
@@ -1,6 +1,6 @@ 

  #!/bin/bash

  # @group: Perl

- # @url: http://fedoraproject.org/wiki/Packaging:Perl

+ # @url: https://docs.fedoraproject.org/en-US/packaging-guidelines/Perl/

  # @text: CPAN urls should be non-versioned.

  

  if [[ "${FR_URL^^}" ==  *CPAN* ]]; then

file modified
+1 -1
@@ -1,6 +1,6 @@ 

  #!/bin/bash

  # @group: Python

- # @url: http://fedoraproject.org/wiki/Packaging:Python#Packaging_eggs_and_setuptools_concerns

+ # @url: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Eggs/

  # @text: Binary eggs must be removed in %prep

  

  cd BUILD/* &>/dev/null || {

@@ -1,5 +1,5 @@ 

  #!/bin/bash

  # @group: Python

- # @url: http://fedoraproject.org/wiki/Packaging:Python#Packaging_eggs_and_setuptools_concerns

+ # @url: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Eggs/

  # @text:  Python eggs must not download any dependencies during the build process.

  exit $FR_PENDING

file modified
+1 -1
@@ -1,5 +1,5 @@ 

  #!/bin/bash

  # @group: Python

- # @url: http://fedoraproject.org/wiki/Packaging:Python#Packaging_eggs_and_setuptools_concerns

+ # @url: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Eggs/

  # @text:  A package which is used by another package via an egg interface should provide egg info.

  exit $FR_PENDING

@@ -1,5 +1,5 @@ 

  #!/bin/bash

  # @group: Python

- # @url: http://fedoraproject.org/wiki/Packaging:Python

+ # @url: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/

  # @text: Package meets the Packaging Guidelines::Python

  exit $FR_PENDING

@@ -2,7 +2,7 @@ 

  # @deprecates: CheckLargeDocs

  # @group: Generic

  # @name: unittest-test2

- # @url: http://fedoraproject.org/wiki/Packaging/Guidelines#PackageDocumentation

+ # @url: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_documentation

  # @text: Large documentation must go in a -doc subpackage.