e30ec00
Name:           devscripts
5d392e9
Version:        2.15.4
d77b0a4
Release:        1%{?dist}
e30ec00
Summary:        Scripts for Debian Package maintainers
e30ec00
e30ec00
License:        GPLv2+
ec2db64
URL:            https://packages.debian.org/sid/%{name}
e30ec00
Source0:        http://ftp.debian.org/debian/pool/main/d/%{name}/%{name}_%{version}.tar.xz
e30ec00
# Fixes path to xsl-stylesheet manpages docbook.xsl
e30ec00
Patch0:         devscripts_docbook.patch
e30ec00
# Removes the debian-only --install-layout python-setuptools option
e30ec00
Patch1:         devscripts_install-layout.patch
e1d8d28
# Install some additional man pages
e1d8d28
Patch2:         devscripts_install-man.patch
e30ec00
e30ec00
# rpmdevtools < 8.4 bundled some of the scripts provided by this package
e30ec00
Conflicts:      rpmdevtools < 8.4
e30ec00
e30ec00
BuildRequires:  perl
e30ec00
BuildRequires:  perl(LWP::UserAgent)
e30ec00
BuildRequires:  perl(Dpkg::IPC)
e30ec00
BuildRequires:  perl(DB_File)
e30ec00
BuildRequires:  perl(Parse::DebControl)
e30ec00
BuildRequires:  perl(File::DesktopEntry)
e30ec00
BuildRequires:  perl(Pod::Checker)
e30ec00
BuildRequires:  docbook-style-xsl
e30ec00
BuildRequires:  libxslt
e30ec00
BuildRequires:  po4a
e30ec00
BuildRequires:  python3-devel
e30ec00
BuildRequires:  python3-setuptools
e30ec00
e30ec00
Requires:       dpkg-dev
d14fdee
Requires:       sensible-utils
622876b
# man for manpage-alert
622876b
Requires:       %{_bindir}/man
e30ec00
f9c5d35
Requires: %{name}-minimal
e1d8d28
e1d8d28
e30ec00
%description
e30ec00
Scripts to make the life of a Debian Package maintainer easier.
e30ec00
e1d8d28
f9c5d35
%package minimal
f9c5d35
Summary:        Minimal subset of devscripts
e1d8d28
f9c5d35
%description minimal
8307998
This package contains the following subset of the devscripts scripts:
8307998
- licensecheck
8307998
- checkbashisms
e1d8d28
e1d8d28
e30ec00
%prep
e30ec00
%setup -q
e30ec00
%patch0 -p1
e30ec00
%patch1 -p1
e1d8d28
%patch2 -p1
e30ec00
e30ec00
# Search for libvfork in %%{_libdir}/%%{name}
e30ec00
sed -i 's|/usr/lib/devscripts/libvfork.so.0|%{_libdir}/%{name}/libvfork.so.0|g' scripts/dpkg-depcheck.pl
e30ec00
e1d8d28
e30ec00
%build
5d392e9
# PKGLIBDIR determines where libvfork gets installed, see Makefile.common for PKGLIBDIR
5d392e9
make %{?_smp_mflags} PKGLIBDIR=%{_libdir}/%{name} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
e30ec00
e30ec00
e30ec00
%install
5d392e9
%make_install PKGLIBDIR=%{_libdir}/%{name}
e30ec00
e30ec00
# Install docs through %%doc
e30ec00
rm -rf %{buildroot}%{_datadir}/doc
e30ec00
250beb2
# archpath requires tla (gnu-arch) or baz (bazaar), both of which are obsolete
250beb2
# and the respective Fedora packages dead. See #1128503
250beb2
rm -f %{buildroot}%{_bindir}/archpath
250beb2
a87ada9
# whodepends requires configured deb repositories
a87ada9
rm -f %{buildroot}%{_bindir}/whodepends
a87ada9
e30ec00
e30ec00
%files
a87ada9
%doc README
a87ada9
%license COPYING
e30ec00
%{_sysconfdir}/bash_completion.d/*
e30ec00
%{_bindir}/*
e30ec00
%{_libdir}/%{name}/
e30ec00
%{python3_sitelib}/%{name}
e30ec00
%{python3_sitelib}/%{name}*.egg-info/
e30ec00
%{_datadir}/%{name}/
e30ec00
%{_mandir}/man1/*
f9c5d35
%exclude %{_bindir}/checkbashisms
e1d8d28
%exclude %{_bindir}/licensecheck
f9c5d35
%exclude %{_mandir}/man1/checkbashisms.1*
e1d8d28
%exclude %{_mandir}/man1/licensecheck.1*
e30ec00
f9c5d35
%files minimal
a87ada9
%license COPYING
f9c5d35
%{_bindir}/checkbashisms
e1d8d28
%{_bindir}/licensecheck
f9c5d35
%{_mandir}/man1/checkbashisms.1*
e1d8d28
%{_mandir}/man1/licensecheck.1*
e30ec00
f9c5d35
e30ec00
%changelog
5d392e9
* Tue Apr 28 2015 Sandro Mani <manisandro@gmail.com> - 2.15.4-1
5d392e9
- Update to 2.15.4
5d392e9
93ff25a
* Mon Apr 13 2015 Sandro Mani <manisandro@gmail.com> - 2.15.3-1
93ff25a
- Update to 2.15.3
93ff25a
a87ada9
* Fri Apr 03 2015 Sandro Mani <manisandro@gmail.com> - 2.15.2-1
a87ada9
- Update to 2.15.2
a87ada9
- Don't install whodepends (#1185511)
a87ada9
7876b8b
* Fri Jan 02 2015 Sandro Mani <manisandro@gmail.com> - 2.15.1-1
a87ada9
- Update to 2.15.1
7876b8b
b2c34fe
* Thu Dec 04 2014 Sandro Mani <manisandro@gmail.com> - 2.14.11-1
b2c34fe
- Update to 2.14.11
b2c34fe
5aa85b5
* Wed Oct 15 2014 Sandro Mani <manisandro@gmail.com> - 2.14.10-1
5aa85b5
- Update to 2.14.10
5aa85b5
95dbccb
* Mon Oct 13 2014 Sandro Mani <manisandro@gmail.com> - 2.14.9-1
95dbccb
- Update to 2.14.9
95dbccb
a8da58f
* Sat Oct 11 2014 Sandro Mani <manisandro@gmail.com> - 2.14.8-1
a8da58f
- Update to 2.14.8, fixes CVE-2014-1833 (#1059947)
a8da58f
d77b0a4
* Fri Sep 26 2014 Sandro Mani <manisandro@gmail.com> - 2.14.7-1
d77b0a4
- Update to 2.14.7
d77b0a4
2dc22a7
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14.6-3
2dc22a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2dc22a7
250beb2
* Mon Aug 11 2014 Sandro Mani <manisandro@gmail.com> - 2.14.6-2
250beb2
- Remove /usr/bin/archpath from package (#1128503)
250beb2
3cfbece
* Wed Aug 06 2014 Sandro Mani <manisandro@gmail.com> - 2.14.6-1
3cfbece
- Update to 2.14.6
3cfbece
09b406c
* Wed Jun 11 2014 Sandro Mani <manisandro@gmail.com> - 2.14.5-1
09b406c
- Update to 2.14.5
09b406c
63c2611
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14.4-2
63c2611
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
63c2611
ed0b97a
* Mon Jun 02 2014 Sandro Mani <manisandro@gmail.com> - 2.14.4-1
ed0b97a
- Update to 2.14.4
ed0b97a
ec2db64
* Thu May 29 2014 Sandro Mani <manisandro@gmail.com> - 2.14.3-1
ec2db64
- Update to 2.14.3
ec2db64
58cc33b
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 2.14.2-2
58cc33b
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
58cc33b
9f294b7
* Mon May 12 2014 Sandro Mani <manisandro@gmail.com> - 2.14.2-1
9f294b7
- Update to 2.14.2
9f294b7
d14fdee
* Thu Feb 27 2014 Sandro Mani <manisandro@gmail.com> - 2.14.1-2
d14fdee
- Require sensible-utils (rhbz#1067869)
d14fdee
f1dadb8
* Sun Jan 26 2014 Sandro Mani <manisandro@gmail.com> - 2.14.1-1
9070aa5
- Update to 2.14.1
f1dadb8
ce3c0e9
* Wed Dec 25 2013 Sandro Mani <manisandro@gmail.com> - 2.13.9-1
ce3c0e9
- Update to 2.13.9
ce3c0e9
- Fixes CVE-2013-7085 (rhbz#1040949)
ce3c0e9
b3721b7
* Wed Dec 11 2013 Sandro Mani <manisandro@gmail.com> - 2.13.8-1
b3721b7
- Update to 2.13.8
b3721b7
227633d
* Wed Dec 11 2013 Sandro Mani <manisandro@gmail.com> - 2.13.5-2
227633d
- Add upstream patch to fix arbitrary command execution when using
227633d
  USCAN_EXCLUSION (rhbz#1040266, debian#731849)
227633d
eca4b19
* Thu Dec 05 2013 Sandro Mani <manisandro@gmail.com> - 2.13.5-1
eca4b19
- Update to 2.13.5
eca4b19
268bd25
* Sun Oct 20 2013 Sandro Mani <manisandro@gmail.com> - 2.13.4-5
268bd25
- Honour RPM_LD_FLAGS
268bd25
17dd687
* Sat Oct 19 2013 Sandro Mani <manisandro@gmail.com> - 2.13.4-4
8307998
- Honour optflags
8307998
- Improve -minimal subpackage description
8307998
e1d8d28
* Thu Oct 17 2013 Sandro Mani <manisandro@gmail.com> - 2.13.4-3
f9c5d35
- Split scripts used by rpm developers into a subpackage
e1d8d28
- Install some additional manpages
e1d8d28
622876b
* Mon Oct  7 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.13.4-2
622876b
- Add dependency on man for manpage-alert.
622876b
e30ec00
* Mon Oct 07 2013 Sandro Mani <manisandro@gmail.com> - 2.13.4-1
e30ec00
- Update to 2.13.4
e30ec00
- Drop devscripts_item.patch
e30ec00
- Drop devscripts_spurious-pod.patch
e30ec00
e30ec00
* Sat Sep 21 2013 Sandro Mani <manisandro@gmail.com> - 2.13.3-5
e30ec00
- Fix typo builroot -> buildroot
e30ec00
- Require perl modules instead of the providing packages
e30ec00
e30ec00
* Fri Sep 20 2013 Sandro Mani <manisandro@gmail.com> - 2.13.3-4
e30ec00
- Conflict with rpmdevtools < 8.4
e30ec00
e30ec00
* Fri Sep 20 2013 Sandro Mani <manisandro@gmail.com> - 2.13.3-3
e30ec00
- Revert: Require rpmdevtools and drop scripts which are in rpmdevtools
e30ec00
- Add conflicts from rpmdevtools < 8.3-6
e30ec00
e30ec00
* Thu Sep 19 2013 Sandro Mani <manisandro@gmail.com> - 2.13.3-2
e30ec00
- Require rpmdevtools and drop scripts which are in rpmdevtools
e30ec00
e30ec00
* Thu Sep 19 2013 Sandro Mani <manisandro@gmail.com> - 2.13.3-1
e30ec00
- Initial package