1e2159b
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
1e2159b
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
1e2159b
%endif
1e2159b
c028b16
Name:           fedora-packager
eca3069
Version:        0.5.10.5
eca3069
Release:        1%{?dist}
c028b16
Summary:        Tools for setting up a fedora maintainer environment
c028b16
c028b16
Group:          Applications/Productivity
c028b16
License:        GPLv2+
e58ac0c
URL:            https://fedorahosted.org/fedora-packager
4dc8524
Source0:        https://fedorahosted.org/releases/f/e/fedora-packager/fedora-packager-%{version}.tar.bz2
c028b16
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c028b16
1e2159b
BuildRequires:  python-devel
3f1b063
Requires:       koji bodhi-client packagedb-cli
c028b16
Requires:       rpm-build rpmdevtools rpmlint
31b371b
Requires:       mock curl openssh-clients
674ab33
Requires:       pyOpenSSL
d3199a7
Requires:       redhat-rpm-config
Jesse Keating 8cf4e06
Requires:       fedpkg >= 1.0
5a39cde
Requires:       fedora-cert = %{version}-%{release}
5a39cde
Requires:       ykpers
c028b16
c028b16
BuildArch:      noarch
c028b16
c028b16
%description
c028b16
Set of utilities useful for a fedora packager in setting up their environment.
c028b16
Jesse Keating a5060f3
5a39cde
%package     -n fedora-cert
cbcaf15
Summary:        Fedora certificate tool and python library
5a39cde
Group:          Applications/Databases
5a39cde
Requires:       pyOpenSSL
dfbd01b
Requires:       python-pycurl
5a39cde
%if 0%{?rhel} == 5 || 0%{?rhel} == 4
5a39cde
Requires:       python-kitchen
5a39cde
%endif
5a39cde
5a39cde
%description -n fedora-cert
5a39cde
Provides fedora-cert and the fedora_cert python library
5a39cde
5a39cde
c028b16
%prep
c028b16
%setup -q
c028b16
c028b16
%build
c028b16
%configure
c028b16
make %{?_smp_mflags}
c028b16
c028b16
%install
c028b16
rm -rf $RPM_BUILD_ROOT
c028b16
make install DESTDIR=$RPM_BUILD_ROOT
Jesse Keating aed0bd6
install -d $RPM_BUILD_ROOT%{_libexecdir}
c028b16
c028b16
c028b16
%clean
c028b16
rm -rf $RPM_BUILD_ROOT
c028b16
c028b16
c028b16
%files
c028b16
%defattr(-,root,root,-)
c028b16
%doc COPYING TODO AUTHORS ChangeLog
b3996a7
%{_bindir}/*
5a39cde
%{_sbindir}/*
Jesse Keating 0333b8e
%dir %{_sysconfdir}/koji
Jesse Keating 0333b8e
%config(noreplace) %{_sysconfdir}/koji/*
5a39cde
%exclude %{_bindir}/fedora-cert
5a39cde
5a39cde
%files -n fedora-cert
5a39cde
%defattr(-,root,root,-)
d609523
%doc COPYING TODO AUTHORS ChangeLog
5a39cde
%{_bindir}/fedora-cert
1e2159b
%{python_sitelib}/fedora_cert
c028b16
31b371b
c028b16
%changelog
eca3069
* Mon Nov 24 2014 Dennis Gilmore <dennis@ausil.us> - 0.5.10.5-1
eca3069
- remove fedora-cvs script as the cvs server no longer exists (dennis)
eca3069
- Make fas url configurable for fedora-server-ca.cert. (rbean)
eca3069
- Remove unused imports. (rbean)
eca3069
- Remove another unused import. (rbean)
eca3069
- Conditionalize CRL checking for el6. (rbean)
eca3069
- Remove unused imports. (rbean)
eca3069
- Add CRL checking to fedora-cert. (rbean)
eca3069
- fedoradev-pkgowners: Update pkgdb URL (opensource)
eca3069
f1905b1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.10.4-2
f1905b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f1905b1
a971e1e
* Sun Mar 23 2014 Nick Bebout <nb@fedoraproject.org> - 0.5.10.4-1
a971e1e
- fix fedora-burn-yubikey script to add -oserial-api-visible
a971e1e
8989b92
* Tue Mar 18 2014 Nick Bebout <nb@fedoraproject.org> - 0.5.10.3-1
8989b92
- fix fedora-burn-yubikey script to work with slot 2
8989b92
b8c4a8d
* Thu Dec 05 2013 Denis Gilmore <dennis@ausil.us> - 0.5.10.2-1
b8c4a8d
- update to 0.5.10.2
b8c4a8d
- drop sparc support
b8c4a8d
cbb57b5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.10.1-4
cbb57b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cbb57b5
15acfbd
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.10.1-3
15acfbd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
15acfbd
3f1b063
* Thu Jan 03 2013 Adam Jackson <ajax@redhat.com> 0.5.10.1-2
3f1b063
- Requires: packagedb-cli (which also pulls in python-bugzilla)
3f1b063
09a2fac
* Mon Dec 03 2012 Nick Bebout <nb@fedoraproject.org> - 0.5.10.1-1
09a2fac
- fix fedora-burn-yubikey to allow specifying what slot to use
09a2fac
3238281
* Fri Aug 03 2012 Dennis Gilmore <dennis@ausil.us> - 0.5.10.0-1
3238281
- fix up secondary arch configs for newer koji
3238281
- clean up message for browser import
3238281
0afde82
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.9.6-3
0afde82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0afde82
e11d098
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.9.6-2
e11d098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e11d098
Jesse Keating 0333b8e
* Tue Nov 08 2011 Jesse Keating <jkeating@redhat.com> - 0.5.9.6-1
Jesse Keating 0333b8e
- Install secondary-arch files correctly
Jesse Keating 0333b8e
Jesse Keating 1f49802
* Mon Nov 07 2011 Jesse Keating <jkeating@redhat.com> - 0.5.9.5-1
Jesse Keating 1f49802
- Move fedpkg to it's own package, no longer part of fedora-packager
Jesse Keating 1f49802
Jesse Keating 8cf4e06
* Fri Oct 28 2011 Jesse Keating <jkeating@redhat.com> - 0.5.9.4-1
Jesse Keating 8cf4e06
- Overload curl stuff (jkeating)
Jesse Keating 8cf4e06
- Hardcode fedpkg version requires (jkeating)
Jesse Keating 8cf4e06
- Fix up changelog date (jkeating)
Jesse Keating 0e22e6f
Jesse Keating 5b20f11
* Thu Oct 27 2011 Jesse Keating <jkeating@redhat.com> - 0.5.9.3-1
Jesse Keating 0bbd034
- Use the new plugin setup with rpkg
Jesse Keating 0bbd034
- Change fedpkg version number to 1.0
Jesse Keating 0bbd034
cbcaf15
* Sat Aug 27 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.5.9.2-2
cbcaf15
- Fix operating URL of fedoradev-pkgowners (BZ #575517).
cbcaf15
Jesse Keating 12c2f85
* Sun May 22 2011 Jesse Keating <jkeating@redhat.com> - 0.5.9.2-1
Jesse Keating 12c2f85
- Strip the .py off of fixbranches (jkeating)
Jesse Keating aed0bd6
- Unconditionally check for new branch style (jkeating)
Jesse Keating aed0bd6
- Stop setting push.default (#705468) (jkeating)
Jesse Keating aed0bd6
- Make sure packages are built before lint (#702893) (jkeating)
Jesse Keating aed0bd6
- Except more build submission errors (#702235) (jkeating)
Jesse Keating aed0bd6
- Move the fixbranches.py script out of the $PATH (#698646) (jkeating)
Jesse Keating aed0bd6
- fedpkg: Support branch completion on non-default remotes (tmz)
Jesse Keating aed0bd6
- fedpkg: Update bash completion for new branch names (tmz)
Jesse Keating aed0bd6
- Fix retiring a package with a provided message (#701626) (jkeating)
Jesse Keating aed0bd6
- add arm specific and s390 specific packages so they get sent to the right
Jesse Keating aed0bd6
  place (dennis)
Jesse Keating aed0bd6
- initial go at using consistent targets across all targets dist-rawhide is
Jesse Keating aed0bd6
  still used for master branch (dennis)
Jesse Keating aed0bd6
- only pass in a target arch to local builds when specified on the command line
Jesse Keating aed0bd6
  some arches notably x86, arm and sparc dont build for the base arch you end
Jesse Keating aed0bd6
  up with .i386 .arm or .sparc rpms when you really want something else
Jesse Keating aed0bd6
  (dennis)
Jesse Keating aed0bd6
Jesse Keating 8ad469c
* Thu Apr 14 2011 Jesse Keating <jkeating@redhat.com> - 0.5.9.0-1
Jesse Keating 8ad469c
- Add a check for new-style branches (jkeating)
Jesse Keating 8ad469c
- Add a force option (jkeating)
Jesse Keating 8ad469c
- Add ability to check status of conversion (jkeating)
Jesse Keating 8ad469c
- Add a dry-run option (jkeating)
Jesse Keating 8ad469c
- Add a client side script to fix branch data (jkeating)
Jesse Keating 8ad469c
Jesse Keating 12777d1
* Sat Apr 09 2011 Jesse Keating <jkeating@redhat.com> - 0.5.8.1-1
Jesse Keating 12777d1
- Man page comment syntax fix. (ville.skytta)
Jesse Keating 12777d1
- Make sure the bodhi.template file got written out (#683602) (jkeating)
Jesse Keating 12777d1
- Wrap the diff in a try (#681789) (jkeating)
Jesse Keating 12777d1
- Don't try to upload directories. (#689947) (jkeating)
Jesse Keating 12777d1
- Fix tag-request (#684418) (jkeating)
Jesse Keating 12777d1
Jesse Keating 3067e1b
* Fri Mar 04 2011 Jesse Keating <jkeating@redhat.com> - 0.5.7.0-1
Jesse Keating 3067e1b
- If chain has sets, handle them right (#679126) (jkeating)
Jesse Keating 3067e1b
- Fix "fedpkg help" command (make it work again) (#681242) (hun)
Jesse Keating 3067e1b
- Always generate a new srpm (#681359) (jkeating)
Jesse Keating 3067e1b
- Fix up uses of path (ticket #96) (jkeating)
Jesse Keating 3067e1b
- Clean up hardcoded "origin" (ticket #95) (jkeating)
Jesse Keating 3067e1b
- Fix obvious error in definition of curl command (pebolle)
Jesse Keating 3067e1b
Jesse Keating b65e009
* Wed Feb 23 2011 Jesse Keating <jkeating@redhat.com> - 0.5.6.0-1
Jesse Keating b65e009
- Fix improper use of strip() (jkeating)
Jesse Keating b65e009
- Improve the way we detect branch data (jkeating)
Jesse Keating b65e009
- Fix clone to work with old/new branch styles (jkeating)
Jesse Keating b65e009
- Add new and old support to switch_branches (jkeating)
Jesse Keating b65e009
- Update the regexes used for finding branches (jkeating)
Jesse Keating b65e009
- Don't use temporary editor files for spec (#677121) (jkeating)
Jesse Keating b65e009
- fedpkg requires rpm-build (#676973) (jkeating)
Jesse Keating b65e009
- Don't error out just from stderr from rpm (jkeating)
Jesse Keating a1d411f
Jesse Keating 35493ee
* Wed Feb 09 2011 Jesse Keating <jkeating@redhat.com> - 0.5.5.0-1
Jesse Keating 35493ee
- Re-add 'lint' command hookup into argparse magic (hun)
Jesse Keating 35493ee
- Catch errors parsing spec to get name. (#676383) (jkeating)
Jesse Keating 35493ee
Jesse Keating 0999987
* Wed Feb 09 2011 Jesse Keating <jkeating@redhat.com> - 0.5.4.0-1
Jesse Keating 0999987
- Re-arrange verify-files and slight fixups (jkeating)
Jesse Keating 0999987
- Add "fedpkg verify-files" command (hun)
Jesse Keating 0999987
- Provide feedback about new-ticket. (ticket 91) (jkeating)
Jesse Keating 0999987
- Add the new pull options to bash completion (jkeating)
Jesse Keating 0999987
- Add a --rebase and --no-rebase option to pull (jkeating)
Jesse Keating 0999987
- Update the documentation for a lot of commands (jkeating)
Jesse Keating 0999987
- Handle working from a non-existent path (#675398) (jkeating)
Jesse Keating 0999987
- Fix an traceback when failing to watch a build. (jkeating)
Jesse Keating 0999987
- Handle arches argument for scratch builds (#675285) (jkeating)
Jesse Keating 0999987
- Trim the "- " out of clogs.  (#675892) (jkeating)
Jesse Keating 0999987
- Exit with an error when appropriate (jkeating)
Jesse Keating 0999987
- Add build time man page generator (hun)
Jesse Keating 0999987
- Add help text for global --user option (hun)
Jesse Keating 0999987
- Move argparse setup into parse_cmdline function (hun)
Jesse Keating 0999987
- Require python-hashlib on EL5 and 4 (jkeating)
Jesse Keating 0999987
- Catch a traceback when trying to build from local branch (jkeating)
8dcac89
Jesse Keating 7cae2c6
* Mon Jan 31 2011 Jesse Keating <jkeating@redhat.com> 0.5.3.0-1
Jesse Keating 7cae2c6
- Catch the case where there is no branch merge point (#622592) (jkeating)
Jesse Keating 7cae2c6
- Fix whitespace (jkeating)
Jesse Keating 7cae2c6
- Add an argument to override the "distribution" (jkeating)
Jesse Keating 7cae2c6
- upload to lookaside cache tgz files (dennis)
Jesse Keating 7cae2c6
- Handle traceback if koji is down or unreachable. (jkeating)
Jesse Keating 7cae2c6
- If we don't have a remote branch, query koji (#619979) (jkeating)
Jesse Keating 7cae2c6
- Add a method to create an anonymous koji session (jkeating)
Jesse Keating 7cae2c6
- Make sure we have sources for mockbuild (#665555) (jwboyer) (jkeating)
Jesse Keating 7cae2c6
- Revert "Make sure we have an srpm when doing a mockbuild (#665555)" (jkeating)
Jesse Keating 7cae2c6
- Regenerate the srpm if spec file is newer (ticket #84) (jkeating)
Jesse Keating 7cae2c6
- Improve cert failure message (Ticket 90) (jkeating)
Jesse Keating 7cae2c6
- Get package name from the specfile. (Ticket 75) (jkeating)
Jesse Keating 7cae2c6
- Handle anonymous clones in clone_with_dirs. (#660183) (ricky)
Jesse Keating 7cae2c6
- Make sure we have an srpm when doing a mockbuild (#665555) (jkeating)
Jesse Keating 7cae2c6
- Catch all errors from watching tasks. (#670305) (jkeating)
Jesse Keating 7cae2c6
- Fix a traceback when koji goes offline (#668889) (jkeating)
Jesse Keating 7cae2c6
- Fix traceback with lint (ticket 89) (jkeating)
Jesse Keating 7cae2c6
f6a3472
* Wed Jan 05 2011 Dennis Gilmore <dennis@ausil.us> - 0.5.2.0-1
Jesse Keating 0999987
- new release see ChangeLog
5a39cde
Jesse Keating e2a17c0
* Tue Aug 24 2010 Jesse Keating <jkeating@redhat.com> - 0.5.1.4-1
Jesse Keating e2a17c0
- Fix setting push.default when cloning with dirs
Jesse Keating e2a17c0
- Remove build --test option in bash completion
Jesse Keating e2a17c0
Jesse Keating a5060f3
* Mon Aug 23 2010 Jesse Keating <jkeating@redhat.com> - 0.5.1.3-1
Jesse Keating a5060f3
- Error check the update call.  #625679
Jesse Keating a5060f3
- Use the correct remote when listing revs
Jesse Keating a5060f3
- Add the bash completion file
Jesse Keating a5060f3
- make fedora-cvs only do anonymous chackouts since cvs is read only now.
Jesse Keating a5060f3
- re-fix dist defines.
Jesse Keating a5060f3
- Short cut the failure on repeated builds
Jesse Keating a5060f3
- Allow passing srpms to the build command
Jesse Keating a5060f3
- clone: set repo's push.default to tracking
Jesse Keating a5060f3
- pull the username from fedora_cert to pass to bodhi
Jesse Keating a5060f3
- Catch double ^c's from build.  RHBZ #620465
Jesse Keating a5060f3
- Fix up chain building
Jesse Keating a5060f3
- Add missing process call for non-pipe no tty.
c122716
8415c56
* Thu Aug 12 2010 Dennis Gilmore <dennis@asuil.us> - 0.5.1.2-1
8415c56
- fix rh bz 619733 619879 619935 620254 620465 620595 620648
8415c56
- 620653 620750 621148 621808 622291 622716
8415c56
31b371b
* Fri Jul 30 2010 Dennis Gilmore <dennis@ausil.us> -0.5.1.0-2
31b371b
- split fedpkg out on its own
31b371b
Jesse Keating a5060f3
* Thu Jul 29 2010 Dennis Gilmore <dennis@ausil.us> - 0.5.1.0-1
5578c9d
- wrap fedora-cert in try except 
5578c9d
- fedpkg fixes
5578c9d
- require python-kitchen on EL-4 and 5
5578c9d
0eb956c
* Wed Jul 28 2010 Dennis Gilmore <dennis@ausil.us> - 0.5.0.1-1
0eb956c
- Fix checking for unpushed changes on a branch
0eb956c
Jesse Keating a5060f3
* Wed Jul 28 2010 Dennis Gilmore <dennis@ausil.us> - 0.5.0-1
Jesse Keating a5060f3
- update to 0.5.0 with the switch to dist-git
7303ac3
90f6f02
* Thu Jul 08 2010 Dennis Gilmore <dennis@ausil.us> - 0.4.2.2-1
90f6f02
- new release with lost of fedpkg fixes
90f6f02
00e773e
* Mon Jun 14 2010 Dennis Gilmore <dennis@ausil.us> - 0.4.2.1-1
00e773e
- set devel for F-14
00e773e
- point builds to koji.stg
00e773e
- correctly create a git url for koji
00e773e
1fd40aa
* Tue Mar 23 2010 Dennis Gilmore <dennis@ausil.us> - 0.4.2-1
1fd40aa
- update to 0.4.2
1fd40aa
- adds missing fedora_cert. in fedora-packager-setup bz#573941
1fd40aa
- Require python-argparse for fedpkg bz#574206
1fd40aa
- Require make and openssh-clients bz#542209
1fd40aa
- Patch to make cvs checkouts more robust bz#569954
1fd40aa
e989f7b
* Wed Mar 03 2010 Dennis Gilmore <dennis@ausil.us> - 0.4.1-1
e989f7b
- update to 0.4.1 
e989f7b
- adds a missing "import sys" from fedora-cert bz#570370
e989f7b
- Require GitPython for fedpkg
e989f7b
1e2159b
* Fri Feb 26 2010 Dennis Gilmore <dennis@ausil.us> - 0.4.0-1
1e2159b
- update to 0.4.0 adds fedpkg 
1e2159b
- make a fedora_cert python library 
1e2159b
- add basic date check for certs 
1e2159b
0986e20
* Tue Aug 04 2009 Jesse Keating <jkeating@redhat.com> - 0.3.8-1
0986e20
- Add fedora-hosted and require offtrac
0986e20
6485dc6
* Thu Jul 30 2009 Dennis Gilmore <dennis@ausil.us> - 0.3.7-1
6485dc6
- define user_cert in fedora-cvs before refrencing it 
6485dc6
f6b2e6b
* Tue Jul 28 2009 Dennis Gilmore <dennis@ausil.us> - 0.3.6-1
f6b2e6b
- use anon checkout when a fedora cert doesnt exist bz#514108
f6b2e6b
- quote arguments passed onto rpmbuild bz#513269
f6b2e6b
81b9f20
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2
81b9f20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
81b9f20
444c4cc
* Mon Jul 13 2009 Dennis Gilmore <dennis@ausil.us> - 0.3.5-1
444c4cc
- add new rpmbuild-md5 script to build old style hash srpms
444c4cc
- it is a wrapper around rpmbuild
444c4cc
d3199a7
* Mon Jul  6 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3.4-3
d3199a7
- add Requires: redhat-rpm-config to be sure fedora packagers are using all available macros
d3199a7
f82ce85
* Wed Jun 24 2009 Dennis Gilmore <dennis@ausil.us> - 0.3.4-2
f82ce85
- minor bump
f82ce85
56a23a0
* Mon Jun 22 2009 Dennis Gilmore <dennis@ausil.us> - 0.3.4-1
56a23a0
- update to 0.3.4 
56a23a0
- bugfix release with some new scripts
56a23a0
4dc8524
* Mon Mar 02 2009 Dennis Gilmore <dennis@ausil.us> - 0.3.3-1
4dc8524
- update to 0.3.3
4dc8524
9531c7d
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-2
9531c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9531c7d
1e82930
* Mon Aug 18 2008 Dennis Gilmore <dennis@ausil.us> - 0.3.1-1
1e82930
- update to 0.3.1 fedora-cvs allows anonymous checkout
1e82930
- fix some Requires  add cvs curl and wget 
1e82930
7516a86
* Sun Mar 30 2008 Dennis Gilmore <dennis@ausil.us> - 0.3.0-1
7516a86
- update to 0.3.0 fedora-cvs uses pyOpenSSL to work out username
7516a86
- remove Requires on RCS's for fedora-hosted
7516a86
- rename fedora-packager-setup.sh to fedora-packager-setup
7516a86
e58ac0c
* Fri Feb 22 2008 Dennis Gilmore <dennis@ausil.us> - 0.2.0-1
e58ac0c
- new upstream release
e58ac0c
- update for fas2
e58ac0c
- fedora-cvs  can now check out multiple modules at once
7516a86
- only require git-core
e58ac0c
c028b16
* Mon Dec 03 2007 Dennis Gilmore <dennis@ausil.us> - 0.1.1-1
c028b16
- fix typo in description 
c028b16
- update to 0.1.1  fixes typo in fedora-cvs
c028b16
c028b16
* Sun Nov 11 2007 Dennis Gilmore <dennis@ausil.us> - 0.1-1
c028b16
- initial build