summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2018-06-15 21:17:37 -0400
committerTodd Zullinger <tmz@pobox.com>2018-06-16 22:36:06 -0400
commit282adf4d94dd917d1c6fd7d5c0b226a6de7f3d5e (patch)
tree064d15f954bbac7e139d9e204c5026b38126b3f6
parenta4d1cbe61c442d74f144b13ae74847a9c4dede36 (diff)
downloadcgit_EL6-282adf4d94dd917d1c6fd7d5c0b226a6de7f3d5e.tar.gz
use %autosetup macro
-rw-r--r--cgit.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgit.spec b/cgit.spec
index e94b94c..4a9a1f4 100644
--- a/cgit.spec
+++ b/cgit.spec
@@ -62,8 +62,7 @@ Requires: webserver
Cgit is a fast web interface for git. It uses caching to increase performance.
%prep
-%setup -q -a 1
-%patch0 -p1
+%autosetup -a 1 -p1
# setup the git dir
rm -rf git
@@ -160,6 +159,7 @@ install -d -m0755 %{buildroot}%{cachedir}
* Fri Jun 15 2018 Todd Zullinger <tmz@pobox.com> - 1.1-11
- disable automatic compilation of *.py files outside of python sitelib
- use %%bcond_(with|without) to toggle highlight
+- use %%autosetup macro
* Mon Jun 04 2018 Todd Zullinger <tmz@pobox.com>
- make config: drop redundant DESTDIR/INSTALL, add COPYTREE