Name: pbuilder Version: 0.231 Release: 12%{?dist} Summary: Personal package builder for Debian packages License: GPL-2.0-or-later URL: https://salsa.debian.org/pbuilder-team/pbuilder Source0: https://ftp.debian.org/debian/pool/main/p/%{name}/%{name}_%{version}.tar.xz Source1: https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/README.fedora Source2: https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilder-config Source3: https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilder-debian-stable Source4: https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilder-ubuntu-old Source5: https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilder-ubuntu-old2 Source6: https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilder-ubuntu-stable Source7: https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilderrc # Don't hardcode pbuilder user id, add a ccache section #Patch0: https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/pbuilder_pbuilderrc.patch # Don't build HTML docs since it requires TLDP stylesheets which are not packaged for Fedora Patch1: https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/pbuilder_no-html-docs.patch BuildArch: noarch BuildRequires: dblatex BuildRequires: dpkg-devel BuildRequires: dh-make BuildRequires: cdbs BuildRequires: debconf BuildRequires: debhelper BuildRequires: debian-keyring BuildRequires: debootstrap BuildRequires: devscripts BuildRequires: devscripts-checkbashisms BuildRequires: dh-autoreconf BuildRequires: dpkg-perl BuildRequires: intltool BuildRequires: keyrings-filesystem BuildRequires: perl-Const-Fast BuildRequires: perl-Contextual-Return BuildRequires: perl-Convert-BinHex BuildRequires: perl-Cpanel-JSON-XS BuildRequires: perl-Email-Simple BuildRequires: perl-File-BaseDir BuildRequires: perl-File-DesktopEntry BuildRequires: perl-File-DirList BuildRequires: perl-File-FcntlLock BuildRequires: perl-File-Remove BuildRequires: perl-File-Touch BuildRequires: perl-File-chdir BuildRequires: perl-Font-AFM BuildRequires: perl-Font-TTF BuildRequires: perl-Geography-Countries BuildRequires: perl-Git-Wrapper BuildRequires: perl-GitLab-API-v4 BuildRequires: perl-HTML-Formatter BuildRequires: perl-HTML-Tree BuildRequires: perl-HTTP-Tiny-Multipart BuildRequires: perl-Hash-Ordered BuildRequires: perl-IO-Prompter BuildRequires: perl-IO-Tty BuildRequires: perl-IO-stringy BuildRequires: perl-IPC-Run BuildRequires: perl-Image-ExifTool BuildRequires: perl-Import-Into BuildRequires: perl-JSON-MaybeXS BuildRequires: perl-List-Compare BuildRequires: perl-Locale-gettext BuildRequires: perl-Log-Any BuildRequires: perl-Log-Any-Adapter-Screen BuildRequires: perl-MIME-tools BuildRequires: perl-Mail-Box BuildRequires: perl-Mail-Message BuildRequires: perl-Mail-Transport BuildRequires: perl-Moo BuildRequires: perl-Object-Realize-Later BuildRequires: perl-Path-Tiny BuildRequires: perl-Regexp-Assemble BuildRequires: perl-Sort-Versions BuildRequires: perl-String-ShellQuote BuildRequires: perl-Sub-Infix BuildRequires: perl-Sub-Quote BuildRequires: perl-TeX-Hyphen BuildRequires: perl-Text-Autoformat BuildRequires: perl-Text-CharWidth BuildRequires: perl-Text-Iconv BuildRequires: perl-Text-Reform BuildRequires: perl-Text-WrapI18N BuildRequires: perl-Type-Tiny BuildRequires: perl-Type-Tiny-XS BuildRequires: perl-Unicode-UTF8 BuildRequires: perl-User-Identity BuildRequires: perl-Want BuildRequires: perl-match-simple BuildRequires: perl-match-simple-XS BuildRequires: perl-strictures BuildRequires: po-debconf BuildRequires: sensible-utils BuildRequires: ubu-keyring BuildRequires: make BuildRequires: man-db BuildRequires: python3 BuildRequires: tex(fancybox.sty) Requires: dblatex Requires: dpkg-devel Requires: dh-make Requires: cdbs Requires: debconf Requires: debhelper Requires: debian-keyring Requires: debootstrap Requires: devscripts Requires: devscripts-checkbashisms Requires: dh-autoreconf Requires: dpkg-perl Requires: intltool Requires: keyrings-filesystem Requires: perl-Const-Fast Requires: perl-Contextual-Return Requires: perl-Convert-BinHex Requires: perl-Cpanel-JSON-XS Requires: perl-Email-Simple Requires: perl-File-BaseDir Requires: perl-File-DesktopEntry Requires: perl-File-DirList Requires: perl-File-FcntlLock Requires: perl-File-Remove Requires: perl-File-Touch Requires: perl-File-chdir Requires: perl-Font-AFM Requires: perl-Font-TTF Requires: perl-Geography-Countries Requires: perl-Git-Wrapper Requires: perl-GitLab-API-v4 Requires: perl-HTML-Formatter Requires: perl-HTML-Tree Requires: perl-HTTP-Tiny-Multipart Requires: perl-Hash-Ordered Requires: perl-IO-Prompter Requires: perl-IO-Tty Requires: perl-IO-stringy Requires: perl-IPC-Run Requires: perl-Image-ExifTool Requires: perl-Import-Into Requires: perl-JSON-MaybeXS Requires: perl-List-Compare Requires: perl-Locale-gettext Requires: perl-Log-Any Requires: perl-Log-Any-Adapter-Screen Requires: perl-MIME-tools Requires: perl-Mail-Box Requires: perl-Mail-Message Requires: perl-Mail-Transport Requires: perl-Moo Requires: perl-Object-Realize-Later Requires: perl-Path-Tiny Requires: perl-Regexp-Assemble Requires: perl-Sort-Versions Requires: perl-String-ShellQuote Requires: perl-Sub-Infix Requires: perl-Sub-Quote Requires: perl-TeX-Hyphen Requires: perl-Text-Autoformat Requires: perl-Text-CharWidth Requires: perl-Text-Iconv Requires: perl-Text-Reform Requires: perl-Text-WrapI18N Requires: perl-Type-Tiny Requires: perl-Type-Tiny-XS Requires: perl-Unicode-UTF8 Requires: perl-User-Identity Requires: perl-Want Requires: perl-match-simple Requires: perl-match-simple-XS Requires: perl-strictures Requires: po-debconf Requires: sensible-utils Requires: ubu-keyring Requires: gnupg Requires: wget Requires: sudo Requires: gcc Requires: fakeroot %description pbuilder constructs a chroot system, and builds a package inside the chroot. It is an ideal system to use to check that a package has correct build- dependencies. %prep %autosetup -p1 # Adjust ccache path sed -i 's|/usr/lib/ccache|%{_libdir}/ccache|g' pbuilderrc %build %make_build %install %make_install # Man pages install -Dpm 0644 debuild-pbuilder.1 %{buildroot}%{_mandir}/man1/debuild-pbuilder.1 install -Dpm 0644 pdebuild.1 %{buildroot}%{_mandir}/man1/pdebuild.1 install -Dpm 0644 pbuilderrc.5 %{buildroot}%{_mandir}/man5/pbuilderrc.5 install -Dpm 0644 pbuilder.8 %{buildroot}%{_mandir}/man8/pbuilder.8 # Install directories install -d %{buildroot}%{_localstatedir}/cache/%{name} install -d %{buildroot}%{_localstatedir}/cache/%{name}/build install -d %{buildroot}%{_localstatedir}/cache/%{name}/ccache install -d %{buildroot}}%{_bindir} install -Dpm 0777 %{SOURCE2} %{buildroot}%{_bindir}/pbuilder-config install -Dpm 0777 %{SOURCE3} %{buildroot}%{_bindir}/debian-stable install -Dpm 0777 %{SOURCE4} %{buildroot}%{_bindir}/pbuilder-ubuntu-old install -Dpm 0777 %{SOURCE5} %{buildroot}%{_bindir}/pbuilder-ubuntu-old2 install -Dpm 0777 %{SOURCE6} %{buildroot}%{_bindir}/pbuilder-ubuntu-stable # Configuration file install -Dpm 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/pbuilderrc # Copy README.fedora to root cp -a %{SOURCE1} README.fedora %pre getent group %{name} > /dev/null || groupadd -r %{name} getent passwd %{name} > /dev/null || \ useradd -r -g %{name} -d %{_localstatedir}/run/%{name} -s /sbin/nologin \ -c "%{name}" %{name} exit 0 %check %ifarch %arm # Some tests fail on arm because ubuntu mirrors are unavailable for that arch make check || : %else make check %endif %files %doc README AUTHORS THANKS debian/TODO README.fedora %{_sysconfdir}/pbuilderrc %{_bindir}/pbuilder-config %{_bindir}/debian-stable %{_bindir}/pbuilder-ubuntu-old %{_bindir}/pbuilder-ubuntu-old2 %{_bindir}/pbuilder-ubuntu-stable %{_sysconfdir}/pbuilderrc %config(noreplace) %{_sysconfdir}/pbuilder/ %{_bindir}/debuild-pbuilder %{_bindir}/pdebuild %{_sbindir}/pbuilder %{_prefix}/lib/pbuilder/ %{_datadir}/bash-completion/ %{_datadir}/pbuilder/ %{_mandir}/man1/debuild-pbuilder.1* %{_mandir}/man1/pdebuild.1* %{_mandir}/man5/pbuilderrc.5* %{_mandir}/man8/pbuilder.8* %{_docdir}/pbuilder/ # The ccache folder needs to be owned by the pbuilder user %attr(0755,%{name},root) %{_localstatedir}/cache/%{name}/ccache %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.231-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.231-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.231-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.231-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.231-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.231-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.231-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.231-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 19 2021 Sandro Mani - 0.231-1 - Update to 0.231 * Tue Jul 28 2020 Fedora Release Engineering - 0.230.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 03 2020 Petr Viktorin - 0.230.4-4 - Switch BuildRequires to python3 * Wed Jan 29 2020 Fedora Release Engineering - 0.230.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.230.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Apr 02 2019 Sandro Mani - 0.230.4-1 - Updateto 0.230.4 * Tue Mar 26 2019 Sandro Mani - 0.230.3-1 - Update to 0.230.3 * Fri Mar 01 2019 Sandro Mani - 0.230.2-1 - Update to 0.230.2 * Fri Feb 01 2019 Fedora Release Engineering - 0.230.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Nov 14 2018 Sandro Mani - 0.230.1-1 - Update to 0.230.1 * Sat Nov 10 2018 Sandro Mani - 0.230-1 - Update to 0.230 * Fri Jul 13 2018 Fedora Release Engineering - 0.229.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jun 18 2018 Sandro Mani - 0.229.3-1 - Update to 0.229.3 * Thu Apr 05 2018 Sandro Mani - 0.229.2-1 - Update to 0.229.2 * Fri Feb 09 2018 Igor Gnatenko - 0.229.1-3 - Escape macros in %%changelog * Thu Feb 08 2018 Fedora Release Engineering - 0.229.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 24 2018 Sandro Mani - 0.229.1-1 - Update to 0.229.1 * Mon Oct 30 2017 Sandro Mani - 0.229-1 - Update to 0.229 * Sun Oct 08 2017 Sandro Mani - 0.228.9-1 - Update to 0.228.9 * Sat Aug 26 2017 Sandro Mani - 0.228.8-1 - Update to 0.228.8 * Thu Jul 27 2017 Fedora Release Engineering - 0.228.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Apr 24 2017 Sandro Mani - 0.228.7-1 - Update to 0.228.7 * Mon Mar 13 2017 Sandro Mani - 0.228.6-1 - Update to 0.228.6 * Sat Mar 04 2017 Sandro Mani - 0.228.5-1 - Update to 0.228.5 * Tue Feb 07 2017 Sandro Mani - 0.228.4-1 - Update to 0.228.4 * Tue Feb 07 2017 Sérgio Basto - 0.228.3-2 - Fix epel7 build * Wed Jan 25 2017 Sandro Mani - 0.228.3-1 - Update to 0.228.3 * Tue Jan 24 2017 Sandro Mani - 0.228.2-1 - Update to 0.228.2 * Sun Jan 22 2017 Sandro Mani - 0.228.1-1 - Update to 0.228.1 * Mon Jan 16 2017 Sandro Mani - 0.228-1 - Update to 0.228 * Tue Nov 29 2016 Sandro Mani - 0.227-1 - Update to 0.227 * Thu Sep 15 2016 Sandro Mani - 0.226.1-1 - Update to 0.226.1 * Mon Sep 05 2016 Sandro Mani - 0.226-1 - Update to 0.226 * Thu Jul 21 2016 Sandro Mani - 0.225.2-1 - Update to 0.225.2 * Wed Jul 20 2016 Sandro Mani - 0.225.1-2 - Backport upstream patch: Don't trash CHROOTEXEC when using eatmydata (#1358337) - Modernize spec * Tue Jun 28 2016 Sandro Mani - 0.225.1-1 - Update to 0.225.1 * Mon Jun 13 2016 Sandro Mani - 0.225-1 - Update to 0.225 * Sat Apr 30 2016 Sandro Mani - 0.224-1 - Update to 0.224 * Thu Feb 04 2016 Fedora Release Engineering - 0.223-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jan 25 2016 Sandro Mani - 0.223-1 - Update to 0.223 * Thu Jan 14 2016 Sandro Mani - 0.222-1 - Update to 0.222 * Wed Dec 09 2015 Sandro Mani - 0.221.3-1 - Update to 0.221.3 * Wed Dec 09 2015 Sandro Mani - 0.221.2-1 - Update to 0.221.2 * Thu Nov 26 2015 Sandro Mani - 0.221.1-1 - Update to 0.221.1 * Wed Nov 25 2015 Sandro Mani - 0.221-1 - Update to 0.221 * Tue Nov 24 2015 Sandro Mani - 0.220-1 - Update to 0.220 * Thu Jun 18 2015 Fedora Release Engineering - 0.215-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Dec 13 2014 Sandro Mani - 0.215-13 - Skip mounting /selinux in chroots * Sun Dec 07 2014 Sandro Mani - 0.215-12 - Fix pbuilder_selinux-ro.patch * Sun Dec 07 2014 Sandro Mani - 0.215-11 - Fix pbuilder_selinux-ro.patch * Sat Dec 06 2014 Sandro Mani - 0.215-10 - Add patch to mount /selinux read-only (see debian bug #734193), fixed failure to create trusty, utopic base images - README.fedora additions * Fri Jun 06 2014 Fedora Release Engineering - 0.215-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Feb 22 2014 Sandro Mani - 0.215-8 - Improve README.fedora, thanks Till Maas, see rhbz#1068727 * Tue Oct 29 2013 Sandro Mani - 0.215-7 - Drop pbuilder_pdebuild-bindmounts.patch (one should use pdebuild -- --bindmounts instead) - Fix README.fedora: ubuntu-keyring is called ubu-keyring * Fri Oct 18 2013 Sandro Mani - 0.215-6 - Add patch to make it possible to pass --bindmounts to pdebuild * Mon Oct 14 2013 Sandro Mani - 0.215-5 - Package is noarch - Co-own %%{_sysconfdir}/bash_completion.d/ * Thu Oct 10 2013 Sandro Mani - 0.215-4 - Improve README.fedora - Add some missing requires * Tue Oct 08 2013 Sandro Mani - 0.215-3 - Don't test non-existing ubuntu arm mirrors * Thu Sep 19 2013 Sandro Mani - 0.215-2 - Create build and ccache directories in /var/cache/pbuilder - Don't use hardcoded user id - Prepare pbuilderrc for ccache usage * Thu Sep 19 2013 Sandro Mani - 0.215-1 - Initial package