Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
rpmdevtools
rmdevelrpms_use_more_raw_strings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rmdevelrpms_use_more_raw_strings.patch of Package rpmdevtools
From 2ddae8028ceb778fb387acf23b97fd43fdb15f98 Mon Sep 17 00:00:00 2001 From: Ville Skyttä <ville.skytta@iki.fi> Date: Feb 14 2017 09:58:15 +0000 Subject: rmdevelrpms: Use more raw strings --- diff --git a/rpmdev-rmdevelrpms.py b/rpmdev-rmdevelrpms.py index 815e402..79a3497 100755 --- a/rpmdev-rmdevelrpms.py +++ b/rpmdev-rmdevelrpms.py @@ -38,15 +38,15 @@ except NameError: __version__ = "1.15" -dev_re = re.compile("-(?:de(?:buginfo|vel)|sdk|static)\\b", re.IGNORECASE) -test_re = re.compile("^perl-(?:Devel|ExtUtils|Test)-") -lib_re1 = re.compile("^lib.+") -lib_re2 = re.compile("-libs?$") -a_re = re.compile(b"\\w\\.a$") -so_re = re.compile(b"\\w\\.so(?:\\.\\d+)*$") -comp_re = re.compile("^compat-gcc") +dev_re = re.compile(r"-(?:de(?:buginfo|vel)|sdk|static)\b", re.IGNORECASE) +test_re = re.compile(r"^perl-(?:Devel|ExtUtils|Test)-") +lib_re1 = re.compile(r"^lib.+") +lib_re2 = re.compile(r"-libs?$") +a_re = re.compile(rb"\w\.a$") +so_re = re.compile(rb"\w\.so(?:\.\d+)*$") +comp_re = re.compile(r"^compat-gcc") # required by Ant, which is required by Eclipse... -jdev_re = re.compile("^java-.+-gcj-compat-devel$") +jdev_re = re.compile(r"^java-.+-gcj-compat-devel$") def_devpkgs = \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor