public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpkg] 1.70-1: Import first build
@ 2026-08-10 21:42 Jesse Keating
  0 siblings, 0 replies; only message in thread
From: Jesse Keating @ 2026-08-10 21:42 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpkg
Branch : 1.70-1
Commit : 2c910bd6bf1882fc3b3002480311e85120b4a1a8
Author : Jesse Keating <jkeating@redhat.com>
Date   : 2011-06-28T14:55:01-07:00
Stats  : +93/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rpkg/c/2c910bd6bf1882fc3b3002480311e85120b4a1a8?branch=1.70-1

Log:
Import first build

---
diff --git a/.gitignore b/.gitignore
index e69de29..1896301 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/rpkg-1.1.tar.gz

diff --git a/rpkg.spec b/rpkg.spec
new file mode 100644
index 0000000..c68da28
--- /dev/null
+++ b/rpkg.spec
@@ -0,0 +1,91 @@
+# 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:           rpkg
+Version:        1.1
+Release:        2%{?dist}
+Summary:        Utility for interacting with rpm+git packaging systems
+
+Group:          Applications/System
+License:        GPLv2+ and LGPLv2
+URL:            https://fedorahosted.org/rpkg
+Source0:        https://fedorahosted.org/releases/r/p/rpkg/rpkg-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires:       python-argparse
+Requires:       pyrpkg => %{name}-%{version}
+
+BuildArch:      noarch
+BuildRequires:  python-devel, python-setuptools
+# We br these things for man page generation due to imports
+BuildRequires:  GitPython, koji, python-pycurl
+%if 0%{?rhel} < 7
+BuildRequires:  python-hashlib
+BuildRequires:  python-argparse
+BuildRequires:  python-kitchen
+%endif
+
+%description
+A tool for managing RPM package sources in a git repository.
+
+%package -n pyrpkg
+Summary:        Python library for interacting with rpm+git
+Group:          Applications/Databases
+Requires:       GitPython >= 0.2.0, python-argparse
+Requires:       python-pycurl, koji
+Requires:       rpm-build, rpm-python
+Requires:       rpmlint, mock, curl, openssh-clients, redhat-rpm-config
+%if 0%{?rhel} < 7
+Requires:       python-kitchen
+Requires:       python-hashlib
+%endif
+
+%description -n pyrpkg
+A python library for managing RPM package sources in a git repository.
+
+
+%prep
+%setup -q
+
+
+%build
+%{__python} setup.py build
+%{__python} src/rpkg_man_page.py > rpkg.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 rpkg.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+ 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%config(noreplace) %{_sysconfdir}/rpkg
+%{_sysconfdir}/bash_completion.d
+%{_bindir}/%{name}
+%{_mandir}/*/*
+
+%files -n pyrpkg
+%doc COPYING COPYING-koji LGPL README
+# For noarch packages: sitelib
+%{python_sitelib}/pyrpkg
+%{python_sitelib}/rpkg-%{version}-py?.?.egg-info
+
+
+%changelog
+* Fri Jun 17 2011 Jesse Keating <jkeating@redhat.com> - 1.1-2
+- Use version macro in files
+
+* Fri Jun 17 2011 Jesse Keating <jkeating@redhat.com> - 1.1-1
+- New tarball release with correct license files
+
+* Fri Jun 17 2011 Jesse Keating <jkeating@redhat.com> - 1.0-2
+- Fix up things found in review
+
+* Tue Jun 14 2011 Jesse Keating <jkeating@redhat.com> - 1.0-1
+- Initial package

diff --git a/sources b/sources
index e69de29..9320422 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4805eb1822075968d1046f89d726f2cc  rpkg-1.1.tar.gz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 21:42 [rpms/rpkg] 1.70-1: Import first build Jesse Keating

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox