File dch-git-describe.spec of Package dch-git-describe

# spec file for package dch-git-describe
# Copyright (c) 2015 Daniel Gollub <>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

Name:           dch-git-describe
Version:        1
Release:        0
Summary:        Post export hook for git-buildpackage
License:        GPL-2.0+
Group:          Development/Tools/Building
Source:         %{name}-%{version}.tar.gz
Requires:       git-buildpackage
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This is a post export hook for git-buildpackage

%setup -q


mkdir -p $RPM_BUILD_ROOT/usr/bin/
install -m 0755 dch_git_describe $RPM_BUILD_ROOT/usr/bin/
install -m 0755 dch_git_describe_and_epoch $RPM_BUILD_ROOT/usr/bin/