rdieter pushed to apper (epel7). "drop git_patches hack (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Mar 26 02:54:44 UTC 2015


>From a84cb47c1cacf18bda6af8cc2d1da200da98a5a4 Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter at math.unl.edu>
Date: Wed, 5 Nov 2014 08:37:58 -0600
Subject: drop git_patches hack

can use %%autosetup later if we so choose instead

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}
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/apper.git/commit/?h=epel7&id=a84cb47c1cacf18bda6af8cc2d1da200da98a5a4


More information about the scm-commits mailing list