[fedpkg] Initial import

Jesse Keating jkeating at fedoraproject.org
Tue Nov 8 00:11:29 UTC 2011


commit bd99b908cb4c2214825ccddf9a24c667246bdfd4
Author: Jesse Keating <jkeating at redhat.com>
Date:   Mon Nov 7 16:10:54 2011 -0800

    Initial import

 .gitignore  |    1 +
 fedpkg.spec |   90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 92 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..898f13e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fedpkg-1.5.tar.bz2
diff --git a/fedpkg.spec b/fedpkg.spec
new file mode 100644
index 0000000..a9b6035
--- /dev/null
+++ b/fedpkg.spec
@@ -0,0 +1,90 @@
+# sitelib for noarch packages, sitearch for others (remove the unneeded one)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+
+Name:           fedpkg
+Version:        1.5
+Release:        1%{?dist}
+Summary:        Fedora utility for working with dist-git
+
+Group:          Applications/System
+License:        GPLv2+
+URL:            http://fedorahosted.org/fedpkg
+Source0:        http://fedorahosted.org/releases/f/e/fedpkg/fedpkg-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires:       pyrpkg, redhat-rpm-config
+Requires:       python-pycurl, koji, python-fedora
+Requires:       fedora-cert, python-offtrac, bodhi-client
+%if 0%{?rhel} == 5 || 0%{?rhel} == 4
+Requires:       python-kitchen
+%endif
+
+BuildArch:      noarch
+BuildRequires:  python-devel, python-setuptools, python-offtrac
+# We br these things for man page generation due to imports
+BuildRequires:  pyrpkg, fedora-cert
+# This until fedora-cert gets fixed
+BuildRequires:  python-fedora
+
+
+%description
+Provides the fedpkg command for working with dist-git
+
+
+%prep
+%setup -q
+
+
+%build
+%{__python} setup.py build
+%{__python} src/fedpkg_man_page.py > fedpkg.1
+
+
+%install
+#rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__install} -d $RPM_BUILD_ROOT%{_mandir}/man1
+%{__install} -p -m 0644 fedpkg.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README
+%config(noreplace) %{_sysconfdir}/rpkg
+%{_sysconfdir}/bash_completion.d
+%{_bindir}/%{name}
+%{_mandir}/*/*
+# For noarch packages: sitelib
+%{python_sitelib}/*
+
+
+%changelog
+* Mon Nov 07 2011 Jesse Keating <jkeating at redhat.com> - 1.5-1
+- Pass along the return value from import_srpm (jkeating)
+- Whitespace cleanup (jkeating)
+
+* Mon Nov 07 2011 Jesse Keating <jkeating at redhat.com> - 1.4-1
+- Use the GPLv2 content for COPYING to match intent. (jkeating)
+
+* Thu Nov 03 2011 Jesse Keating <jkeating at redhat.com> - 1.3-1
+- Fix buildrequires (jkeating)
+- Don't register a nonexestant target (jkeating)
+- Drop koji-rhel.conf file (jkeating)
+- Fix up the setup.py (jkeating)
+
+* Thu Nov 03 2011 Jesse Keating <jkeating at redhat.com> - 1.2-1
+- Catch raises in the libraries (jkeating)
+- Fix the fixbranches script for new module name (jkeating)
+- srpm takes arguments, pass them along (jkeating)
+- Get error output from user detection failures (jkeating)
+- Get the user name from the Fedora SSL certificate. (bochecha)
+- Fix crash when detecting Rawhide. (bochecha)
+
+* Fri Oct 28 2011 Jesse Keating <jkeating at redhat.com> - 1.1-1
+- Overload curl stuff (jkeating)
+- Hardcode fedpkg version requires (jkeating)
+- Fix up changelog date (jkeating)
diff --git a/sources b/sources
index e69de29..9007136 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+89ad66f2bd7c651781a484f27ededd50  fedpkg-1.5.tar.bz2


More information about the scm-commits mailing list