summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2011-02-09 16:34:18 -0700
committerJesse Keating <jkeating@redhat.com>2011-02-09 16:34:18 -0700
commitb55bda6a1ac474180694366f29f687cd0447ef27 (patch)
tree4aaddf54ba0f9f9962e61fa5db4defa24445d025
parent4f38782ef1a0f0d8f6c0eed962bbcb6503579c71 (diff)
downloadfedora-packager-b55bda6a1ac474180694366f29f687cd0447ef27.tar.gz
fedora-packager-b55bda6a1ac474180694366f29f687cd0447ef27.tar.xz
fedora-packager-b55bda6a1ac474180694366f29f687cd0447ef27.zip
Add changes from dist-git
-rw-r--r--fedora-packager.spec36
1 files changed, 29 insertions, 7 deletions
diff --git a/fedora-packager.spec b/fedora-packager.spec
index 3af620a..8a9453a 100644
--- a/fedora-packager.spec
+++ b/fedora-packager.spec
@@ -17,10 +17,12 @@ BuildRequires: python-devel
Requires: koji bodhi-client
Requires: rpm-build rpmdevtools rpmlint
Requires: mock curl openssh-clients
-Requires: pyOpenSSL python-pycurl
+Requires: pyOpenSSL
Requires: redhat-rpm-config
-Requires: python-offtrac
Requires: fedpkg = %{version}-%{release}
+Requires: fedora-cert = %{version}-%{release}
+Requires: ykpers
+Requires: ykpers
BuildArch: noarch
@@ -30,21 +32,34 @@ Set of utilities useful for a fedora packager in setting up their environment.
%package -n fedpkg
Summary: fedora utility for working with dist-git
Group: Applications/Databases
-Requires: GitPython >= 0.2.0, python-argparse, curl
-Requires: fedora-packager = %{version}-%{release}
+Requires: GitPython >= 0.2.0, python-argparse
+Requires: python-pycurl, koji, python-fedora
+Requires: fedora-cert = %{version}-%{release}
+Requires: python-offtrac
%if 0%{?rhel} == 5 || 0%{?rhel} == 4
Requires: python-kitchen
-Requires: python-hashlib
%endif
%description -n fedpkg
Provides the fedpkg command for working with dist-git
+%package -n fedora-cert
+Summary: fedora-cert tool and python library
+Group: Applications/Databases
+Requires: pyOpenSSL
+Requires: python-pycurl
+%if 0%{?rhel} == 5 || 0%{?rhel} == 4
+Requires: python-kitchen
+%endif
+
+%description -n fedora-cert
+Provides fedora-cert and the fedora_cert python library
+
+
%prep
%setup -q
-
%build
%configure
make %{?_smp_mflags}
@@ -62,12 +77,19 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc COPYING TODO AUTHORS ChangeLog
%{_bindir}/*
+%{_sbindir}/*
%exclude %{_bindir}/fedpkg
+%exclude %{_bindir}/fedora-cert
+
+%files -n fedora-cert
+%defattr(-,root,root,-)
+%doc COPYING TODO AUTHORS ChangeLog
+%{_bindir}/fedora-cert
%{python_sitelib}/fedora_cert
%files -n fedpkg
-%doc COPYING TODO AUTHORS ChangeLog
%defattr(-,root,root,-)
+%doc COPYING TODO AUTHORS ChangeLog
%{_bindir}/fedpkg
%{python_sitelib}/pyfedpkg
%{_sysconfdir}/bash_completion.d