| |
@@ -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'
|
| |