[apper/f20] drop git_patches hack

Rex Dieter rdieter at fedoraproject.org
Wed Nov 5 16:07:43 UTC 2014


commit a84cb47c1cacf18bda6af8cc2d1da200da98a5a4
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Wed Nov 5 08:37:58 2014 -0600

    drop git_patches hack
    
    can use %%autosetup later if we so choose instead

 apper.spec |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/apper.spec b/apper.spec
index ded7a98..e048f74 100644
--- a/apper.spec
+++ b/apper.spec
@@ -21,10 +21,6 @@ URL:     http://kde-apps.org/content/show.php/Apper?content=84745
 Source10: 01-fedora-org.packagekit.updater.js
 
 ## upstream patches
-#define git_patches 1
-%if 0%{?git_patches}
-BuildRequires: git-core
-%endif
 # hack around https://bugzilla.redhat.com/948099
 Patch200: 0100-pk-cache-update-debugging.patch
 
@@ -58,20 +54,7 @@ KDE interface for PackageKit.
 %prep
 %setup -q 
 
-%if 0%{?git_patches}
-git init
-if [ -z "$GIT_COMMITTER_NAME" ]; then
-git config user.email "kde at lists.fedoraproject.org"
-git config user.name "Fedora KDE SIG"
-fi
-git add .
-git commit -a -q -m "%{version} baseline."
-
-# Apply all the patches
-git am -p1 %{patches} < /dev/null
-%else
 %patch200 -p1 -b .pk_cache_update
-%endif
 
 %build
 mkdir -p %{_target_platform}


More information about the scm-commits mailing list