sharkcz / rpms / stgit

Forked from rpms/stgit 3 years ago
Blob Blame History Raw
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           stgit
Version:        0.14.2
Release:        1%{?dist}
Summary:        StGIT provides similar functionality to Quilt on top of GIT

Group:          Development/Tools
License:        GPLv2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  git-core

Requires:       git-core

StGIT is a Python application providing similar functionality to Quilt
(i.e. pushing/popping patches to/from a stack) on top of GIT. These
operations are performed using GIT commands and the patches are stored
as GIT commit objects, allowing easy merging of the StGIT patches into
other repositories using standard GIT functionality.

Note that StGIT is not an SCM interface on top of GIT and it expects a
previously initialised GIT repository (unless it is cloned using StGIT
directly). For standard SCM operations, either use plain GIT commands
or the Cogito tool but it is not recommended to mix them with the
StGIT commands.

%setup -q

%{__python} build

%{__python} install -O1 --skip-build --root $RPM_BUILD_ROOT
chmod -x $RPM_BUILD_ROOT%{_datadir}/stgit/contrib/



# For noarch packages: sitelib

* Wed Mar 26 2008 James Bowes <> 0.14.2-1
- Update to 0.14.2

* Wed Dec 12 2007 James Bowes <> - 0.14.1-1
- Update to 0.14.1

* Thu Aug 23 2007 James Bowes <> - 0.13-2
- Mark license as GPLv2+

* Sun Aug 05 2007 James Bowes <> - 0.13-1
- Update to 0.13

* Wed Apr 25 2007 James Bowes <> - 0.12.1-2
- Use macro for datadir.

* Thu Apr 19 2007 James Bowes <> - 0.12.1-1
- Update version.
- Don't install the bash prompt shell script as executable.

* Fri Feb 02 2007 James Bowes <> - 0.12-1
- Initial packaging.