|
Jesse Keating |
2c910bd |
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
|
|
Jesse Keating |
2c910bd |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
Name: rpkg
|
|
Jesse Keating |
a439dca |
Version: 1.6
|
|
Jesse Keating |
8181e2e |
Release: 1%{?dist}
|
|
Jesse Keating |
2c910bd |
Summary: Utility for interacting with rpm+git packaging systems
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
Group: Applications/System
|
|
Jesse Keating |
2c910bd |
License: GPLv2+ and LGPLv2
|
|
Jesse Keating |
2c910bd |
URL: https://fedorahosted.org/rpkg
|
|
Jesse Keating |
2c910bd |
Source0: https://fedorahosted.org/releases/r/p/rpkg/rpkg-%{version}.tar.gz
|
|
Jesse Keating |
2c910bd |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
Requires: python-argparse
|
|
Jesse Keating |
2c910bd |
Requires: pyrpkg => %{name}-%{version}
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
BuildArch: noarch
|
|
Jesse Keating |
2c910bd |
BuildRequires: python-devel, python-setuptools
|
|
Jesse Keating |
2c910bd |
# We br these things for man page generation due to imports
|
|
Jesse Keating |
2c910bd |
BuildRequires: GitPython, koji, python-pycurl
|
|
Jesse Keating |
2c910bd |
%if 0%{?rhel} < 7
|
|
Jesse Keating |
2c910bd |
BuildRequires: python-hashlib
|
|
Jesse Keating |
2c910bd |
BuildRequires: python-argparse
|
|
Jesse Keating |
2c910bd |
BuildRequires: python-kitchen
|
|
Jesse Keating |
2c910bd |
%endif
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
%description
|
|
Jesse Keating |
2c910bd |
A tool for managing RPM package sources in a git repository.
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
%package -n pyrpkg
|
|
Jesse Keating |
2c910bd |
Summary: Python library for interacting with rpm+git
|
|
Jesse Keating |
2c910bd |
Group: Applications/Databases
|
|
Jesse Keating |
2c910bd |
Requires: GitPython >= 0.2.0, python-argparse
|
|
Jesse Keating |
2c910bd |
Requires: python-pycurl, koji
|
|
Jesse Keating |
2c910bd |
Requires: rpm-build, rpm-python
|
|
Jesse Keating |
2c910bd |
Requires: rpmlint, mock, curl, openssh-clients, redhat-rpm-config
|
|
Jesse Keating |
2c910bd |
%if 0%{?rhel} < 7
|
|
Jesse Keating |
2c910bd |
Requires: python-kitchen
|
|
Jesse Keating |
2c910bd |
Requires: python-hashlib
|
|
Jesse Keating |
2c910bd |
%endif
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
%description -n pyrpkg
|
|
Jesse Keating |
2c910bd |
A python library for managing RPM package sources in a git repository.
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
%prep
|
|
Jesse Keating |
2c910bd |
%setup -q
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
%build
|
|
Jesse Keating |
2c910bd |
%{__python} setup.py build
|
|
Jesse Keating |
2c910bd |
%{__python} src/rpkg_man_page.py > rpkg.1
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
%install
|
|
Jesse Keating |
2c910bd |
rm -rf $RPM_BUILD_ROOT
|
|
Jesse Keating |
2c910bd |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
Jesse Keating |
2c910bd |
%{__install} -d $RPM_BUILD_ROOT%{_mandir}/man1
|
|
Jesse Keating |
2c910bd |
%{__install} -p -m 0644 rpkg.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
%clean
|
|
Jesse Keating |
2c910bd |
rm -rf $RPM_BUILD_ROOT
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
%files
|
|
Jesse Keating |
2c910bd |
%config(noreplace) %{_sysconfdir}/rpkg
|
|
Jesse Keating |
2c910bd |
%{_sysconfdir}/bash_completion.d
|
|
Jesse Keating |
2c910bd |
%{_bindir}/%{name}
|
|
Jesse Keating |
2c910bd |
%{_mandir}/*/*
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
%files -n pyrpkg
|
|
Jesse Keating |
2c910bd |
%doc COPYING COPYING-koji LGPL README
|
|
Jesse Keating |
2c910bd |
# For noarch packages: sitelib
|
|
Jesse Keating |
2c910bd |
%{python_sitelib}/pyrpkg
|
|
Jesse Keating |
2c910bd |
%{python_sitelib}/rpkg-%{version}-py?.?.egg-info
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
%changelog
|
|
Jesse Keating |
a439dca |
* Tue Sep 20 2011 Jesse Keating <jkeating@redhat.com> - 1.6-1
|
|
Jesse Keating |
a439dca |
- Allow name property to load by itself (jkeating)
|
|
Jesse Keating |
a439dca |
|
|
Jesse Keating |
5f23912 |
* Mon Sep 19 2011 Jesse Keating <jkeating@redhat.com> - 1.5-1
|
|
Jesse Keating |
5f23912 |
- Fix tag listing (#717528) (jkeating)
|
|
Jesse Keating |
5f23912 |
- Revamp n-v-r property loading (#721389) (jkeating)
|
|
Jesse Keating |
5f23912 |
- Don't use os.getlogin (jkeating)
|
|
Jesse Keating |
5f23912 |
- Code style changes (jkeating)
|
|
Jesse Keating |
5f23912 |
- Allow fedpkg lint to be configurable and to check spec file. (pingou)
|
|
Jesse Keating |
5f23912 |
- Handle non-scratch srpm builds better (jkeating)
|
|
Jesse Keating |
5f23912 |
|
|
Jesse Keating |
393f694 |
* Wed Aug 17 2011 Jesse Keating <jkeating@redhat.com> - 1.4-1
|
|
Jesse Keating |
393f694 |
- Be more generic when no spec file is found (jkeating)
|
|
Jesse Keating |
393f694 |
- Hint about use of git status when dirty (jkeating)
|
|
Jesse Keating |
393f694 |
- Don't use print when we can log.info it (jkeating)
|
|
Jesse Keating |
393f694 |
- Don't exit from a library (jkeating)
|
|
Jesse Keating |
393f694 |
- Do the rpm query in our module path (jkeating)
|
|
Jesse Keating |
393f694 |
- Use git's native ability to checkout a branch (jkeating)
|
|
Jesse Keating |
393f694 |
- Use keyword arg with clone (jkeating)
|
|
Jesse Keating |
393f694 |
- Allow the on-demand generation of an srpm (jkeating)
|
|
Jesse Keating |
393f694 |
- Fix up exit codes (jkeating)
|
|
Jesse Keating |
393f694 |
|
|
Jesse Keating |
8c0b16c |
* Mon Aug 01 2011 Jesse Keating <jkeating@redhat.com> - 1.3-1
|
|
Jesse Keating |
8c0b16c |
- Fix a debug string (jkeating)
|
|
Jesse Keating |
8c0b16c |
- Set the right property (jkeating)
|
|
Jesse Keating |
8c0b16c |
- Make sure we have a default hashtype (jkeating)
|
|
Jesse Keating |
8c0b16c |
- Use underscore for the dist tag (jkeating)
|
|
Jesse Keating |
8c0b16c |
- Fix the kojiweburl property (jkeating)
|
|
Jesse Keating |
8c0b16c |
|
|
Jesse Keating |
8181e2e |
* Wed Jul 20 2011 Jesse Keating <jkeating@redhat.com> - 1.2-1
|
|
Jesse Keating |
8181e2e |
- Fill out the krb_creds function (jkeating)
|
|
Jesse Keating |
8181e2e |
- Fix the log message (jkeating)
|
|
Jesse Keating |
8181e2e |
- site_setup is no longer needed (jkeating)
|
|
Jesse Keating |
8181e2e |
- Remove some rhtisms (jkeating)
|
|
Jesse Keating |
8181e2e |
- Wire up the patch command in client code (jkeating)
|
|
Jesse Keating |
8181e2e |
- Add a patch command (jkeating)
|
|
Jesse Keating |
8181e2e |
|
|
Jesse Keating |
2c910bd |
* Fri Jun 17 2011 Jesse Keating <jkeating@redhat.com> - 1.1-2
|
|
Jesse Keating |
2c910bd |
- Use version macro in files
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
* Fri Jun 17 2011 Jesse Keating <jkeating@redhat.com> - 1.1-1
|
|
Jesse Keating |
2c910bd |
- New tarball release with correct license files
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
* Fri Jun 17 2011 Jesse Keating <jkeating@redhat.com> - 1.0-2
|
|
Jesse Keating |
2c910bd |
- Fix up things found in review
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
2c910bd |
* Tue Jun 14 2011 Jesse Keating <jkeating@redhat.com> - 1.0-1
|
|
Jesse Keating |
2c910bd |
- Initial package
|