|
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
|
|
|
f9c823c |
Version: 1.19
|
|
|
36defc8 |
Release: 2%{?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
|
|
|
4bd419b |
Requires: pyrpkg >= %{version}-%{release}
|
|
Jesse Keating |
2c910bd |
|
|
Jesse Keating |
8dd0e8e |
# Use this to force plugins to update
|
|
Jesse Keating |
8dd0e8e |
Conflicts: fedpkg <= 1.7
|
|
Jesse Keating |
8dd0e8e |
|
|
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 |
BuildRequires: python-hashlib
|
|
Jesse Keating |
2c910bd |
BuildRequires: python-argparse
|
|
Jesse Keating |
2c910bd |
BuildRequires: python-kitchen
|
|
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 |
Requires: python-kitchen
|
|
Jesse Keating |
2c910bd |
Requires: python-hashlib
|
|
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
|
|
|
36defc8 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2
|
|
|
36defc8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
36defc8 |
|
|
|
f9c823c |
* Mon Apr 08 2013 Pavol Babincak <pbabinca@redhat.com> - 1.19-1
|
|
|
f9c823c |
- Generate mock-config for mockbuild if needed (rhbz#856928) (pbabinca)
|
|
|
f9c823c |
|
|
|
2a14c6e |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
|
|
|
2a14c6e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
2a14c6e |
|
|
|
4bd419b |
* Fri Aug 10 2012 Robert Scheck <robert@fedoraproject.org> - 1.18-3
|
|
|
4bd419b |
- Require %%{version}-%%{release} rather %%{name}-%%{version}
|
|
|
4bd419b |
|
|
|
db38ffe |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2
|
|
|
db38ffe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
db38ffe |
|
|
Jesse Keating |
7b390f8 |
* Mon Apr 16 2012 Jesse Keating <jkeating@redhat.com> - 1.18-1
|
|
Jesse Keating |
7b390f8 |
- Use rpmdefines when querying for package name
|
|
Jesse Keating |
7b390f8 |
|
|
Jesse Keating |
0cd195a |
* Mon Apr 09 2012 Jesse Keating <jkeating@redhat.com> - 1.17-1
|
|
Jesse Keating |
0cd195a |
- Don't assume master branch for chain builds (jkeating)
|
|
Jesse Keating |
0cd195a |
|
|
Jesse Keating |
fa5faff |
* Mon Mar 26 2012 Jesse Keating <jkeating@redhat.com> - 1.16-1
|
|
Jesse Keating |
fa5faff |
- Only read from .koji/config (jkeating)
|
|
Jesse Keating |
fa5faff |
|
|
Jesse Keating |
c5d4be7 |
* Wed Mar 21 2012 Jesse Keating <jkeating@redhat.com> - 1.15-1
|
|
Jesse Keating |
c5d4be7 |
- Fix branch push warning (jkeating)
|
|
Jesse Keating |
c5d4be7 |
- Handle CVS based builds when getting build hash (jkeating)
|
|
Jesse Keating |
c5d4be7 |
|
|
Jesse Keating |
d2090b9 |
* Mon Mar 12 2012 Jesse Keating <jkeating@redhat.com> - 1.14-1
|
|
Jesse Keating |
d2090b9 |
- Warn if the checked out branch cannot be pushed (jkeating)
|
|
Jesse Keating |
d2090b9 |
- Warn if commit or tag fails and we don't push (#21) (jkeating)
|
|
Jesse Keating |
d2090b9 |
- Honor ~/.koji/config (rhbz#785776) (jkeating)
|
|
Jesse Keating |
d2090b9 |
- Update help output for switch-branch (rhbz#741742) (jkeating)
|
|
Jesse Keating |
d2090b9 |
|
|
Jesse Keating |
8dd0e8e |
* Thu Mar 01 2012 Jesse Keating <jkeating@redhat.com> - 1.13-1
|
|
Jesse Keating |
8dd0e8e |
- Return proper exit code from builds (#20) (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Fix md5 option in the build parser (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- More completion fixes (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Add mock-config and mockbuild completion (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Simplify test for rpkg availability. (ville.skytta)
|
|
Jesse Keating |
8dd0e8e |
- Fix ~/... path completion. (ville.skytta (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Add a --raw option to clog (#15) (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Make things quiet when possible (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Fix up figuring out srpm hash type (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Allow defining an alternative builddir (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Conflict with older fedpkg (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Attempt to automatically set the md5 flag (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Use -C not -c for config. (#752411) (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Don't check gpg sigs when importing srpms (ticket #16) (jkeating)
|
|
Jesse Keating |
8dd0e8e |
- Enable md5 option in mockbuild (twaugh) (jkeating)
|
|
Jesse Keating |
8dd0e8e |
|
|
Jesse Keating |
8b61b01 |
* Tue Jan 24 2012 Jesse Keating <jkeating@redhat.com> - 1.12-1
|
|
Jesse Keating |
8b61b01 |
- Fix mock-config (ticket #13) (jkeating)
|
|
Jesse Keating |
8b61b01 |
- Make md5 a common build argument (jkeating)
|
|
Jesse Keating |
8b61b01 |
- Move arches to be a common build argument (ticket #3) (jkeating)
|
|
Jesse Keating |
8b61b01 |
- Find remote branch to track better (jkeating)
|
|
Jesse Keating |
8b61b01 |
|
|
Jesse Keating |
7a42065 |
* Fri Jan 13 2012 Jesse Keating <jkeating@redhat.com> - 1.11-1
|
|
Jesse Keating |
7a42065 |
- Change clog output to be more git-like (sochotnicky)
|
|
Jesse Keating |
7a42065 |
- Fix mockconfig property (bochecha)
|
|
Jesse Keating |
7a42065 |
- Use only new-style classes everywhere. (bochecha)
|
|
Jesse Keating |
7a42065 |
- Testing for access before opening a file is unsafe (bochecha)
|
|
Jesse Keating |
7a42065 |
- Add a gitbuildhash command (jkeating)
|
|
Jesse Keating |
7a42065 |
- Always make sure you have a absolute path (aj) (jkeating)
|
|
Jesse Keating |
7a42065 |
- don't try to import brew, just do koji (jkeating)
|
|
|
3b75759 |
|
|
Jesse Keating |
1f9a119 |
* Mon Nov 21 2011 Jesse Keating <jkeating@redhat.com> - 1.10-1
|
|
Jesse Keating |
1f9a119 |
- Use -C for --config shortcut (jkeating)
|
|
Jesse Keating |
1f9a119 |
- Don't leave a directory on failure (#754082) (jkeating)
|
|
Jesse Keating |
1f9a119 |
- Fix chain build (#754189) (jkeating)
|
|
Jesse Keating |
1f9a119 |
- Don't hardcode brew here (jkeating)
|
|
Jesse Keating |
1f9a119 |
|
|
Jesse Keating |
91f81c5 |
* Mon Nov 07 2011 Jesse Keating <jkeating@redhat.com> - 1.9-1
|
|
Jesse Keating |
91f81c5 |
- Don't upload if there is nothing to upload. (jkeating)
|
|
Jesse Keating |
91f81c5 |
- --branch option for import is not supported yet (jkeating)
|
|
Jesse Keating |
91f81c5 |
- Add epilog about mock-config generation (jkeating)
|
|
Jesse Keating |
91f81c5 |
- Don't assume we can create a folder named after the module. (bochecha)
|
|
Jesse Keating |
91f81c5 |
- Fix passing the optional mock root to mockbuild (bochecha)
|
|
Jesse Keating |
91f81c5 |
- Add missing registration for mockbuild target (bochecha)
|
|
Jesse Keating |
91f81c5 |
- Make the clean target work with --path. (bochecha)
|
|
Jesse Keating |
91f81c5 |
- Fix typo in a comment. (bochecha)
|
|
Jesse Keating |
91f81c5 |
- Fix syntax error in main script. (bochecha)
|
|
Jesse Keating |
91f81c5 |
- Fix typo. (bochecha)
|
|
Jesse Keating |
91f81c5 |
|
|
Jesse Keating |
25b4695 |
* Fri Oct 28 2011 Jesse Keating <jkeating@redhat.com> - 1.8-1
|
|
Jesse Keating |
25b4695 |
- Get more detailed error output from lookaside (jkeating)
|
|
Jesse Keating |
25b4695 |
- Move the curl call out to it's own function (jkeating)
|
|
Jesse Keating |
25b4695 |
- Hide build_common from help/usage (jkeating)
|
|
Jesse Keating |
25b4695 |
- Fix the help command (jkeating)
|
|
Jesse Keating |
25b4695 |
|
|
Jesse Keating |
1dba350 |
* Tue Oct 25 2011 Jesse Keating <jkeating@redhat.com> - 1.7-1
|
|
Jesse Keating |
1dba350 |
- Support a manually specified mock root (jkeating)
|
|
Jesse Keating |
1dba350 |
- Add a mock-config subcommand (jkeating)
|
|
Jesse Keating |
1dba350 |
- Fix a traceback on error. (jkeating)
|
|
Jesse Keating |
1dba350 |
- Remove debugging code (jkeating)
|
|
Jesse Keating |
1dba350 |
- More git api updates (jkeating)
|
|
Jesse Keating |
1dba350 |
- Add topurl as a koji config and property (jkeating)
|
|
Jesse Keating |
1dba350 |
- Add a mockconfig property (jkeating)
|
|
Jesse Keating |
1dba350 |
- Turn the latest commit into a property (jkeating)
|
|
Jesse Keating |
1dba350 |
|
|
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
|