#17 Create package.cfg only for epel > 7
Merged 4 years ago by mohanboddu. Opened 4 years ago by mohanboddu.
mohanboddu/fedscm-admin epel7-fix  into  master

file modified
+2 -2
@@ -782,10 +782,10 @@ 

          fedscm_admin.pagure.new_branch(

              namespace, repo, branch, from_commit=git_obj.first_commit)

          # If epel\d branch, then create package.cfg file in that branch

-         # Remove the check for epel version >= 7 when playground is enabled

+         # Remove the check for epel version > 7 when playground is enabled

          # for epel7

          if (bool(re.match(r'^(?:epel)\d+$', branch)) and

-                 int(''.join([i for i in branch if re.match(r'\d', i)])) >= 7):

+                 int(''.join([i for i in branch if re.match(r'\d', i)])) > 7):

              git_obj.create_epel_package_cfg(namespace, repo, branch)

  

  

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

      packages=['fedscm_admin'],

      package_dir={'fedscm_admin': 'fedscm_admin'},

      url='https://pagure.io/fedscm_admin',

-     version='1.0.8',

+     version='1.0.9',

  )

rebased onto b5976d1

4 years ago

Pull-Request has been merged by mohanboddu

4 years ago
Metadata