--- rpms/e-smith-devtools/sme10/e-smith-devtools.spec 2016/02/04 22:54:13 1.1 +++ rpms/e-smith-devtools/sme10/e-smith-devtools.spec 2021/01/07 18:45:37 1.10 @@ -1,21 +1,52 @@ -# $Id: e-smith-devtools.spec,v 1.6 2015/06/29 20:22:43 stephdl Exp $ +# $Id: e-smith-devtools.spec,v 1.9 2021/01/06 20:16:40 jpp Exp $ Summary: e-smith tools for building RPMs %define name e-smith-devtools Name: %{name} %define version 2.6.0 -%define release 1 +%define release 9 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.xz +Patch0: e-smith-devtools-2.6.0-no_dir_and_attr_for_symlinks.patch +Patch1: e-smith-devtools-2.6.0-ignore_more_system_dir.patch +Patch2: e-smith-devtools-2.6.0-use_c_wrapper_for_cgi.patch +Patch3: e-smith-devtools-2.6.0-quote_filenames.patch +Patch4: e-smith-devtools-2.6.0-bz10536-yum_update.patch + BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: perl, perl(Test::Inline) >= 0.12, perl(XML::Parser) AutoReqProv: no %changelog +* Wed Jan 06 2021 Jean-Philipe Pialasse 2.6.0-9.sme +- add update event [SME: 11126] + +* Sat Mar 17 2018 Jean-Philipe Pialasse 2.6.0-7.sme +- ease update of e-smith-devtools on non SME builders [SME: 10536] + +* Thu May 25 2017 Jean-Philipe Pialasse 2.6.0-6.sme +- added grub2 directories to ignore list [SME: 10325] + +* Tue Aug 23 2016 Daniel Berteaud 2.6.0-5.sme +- Quote filenames in genfilelist so filenames containing spaces are correctly + handled [SME: 9750] + +* Wed May 11 2016 Daniel Berteaud 2.6.0-4.sme +- Panel links points on the manager's C wrapper, and original cgi are not + suid anymore. [SME: 9393] +- console is now also called through a C wrapper to replace perl-suid [SME: 9393] + +* Fri Mar 18 2016 Daniel Berteaud 2.6.0-3.sme +- Ignore more system directories [SME: 9347] + +* Sun Feb 7 2016 Daniel Berteaud 2.6.0-2.sme +- Don't add %dir and %attr in genfilelist for symlinks, code from + Charlie Brady [SME: 9232] + * Thu Feb 4 2016 Daniel Berteaud 2.6.0-1.sme - Roll new stream for sme10 @@ -398,6 +429,12 @@ permissions. %prep %setup +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 + %build %install @@ -405,12 +442,17 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/sbin/e-smith mkdir -p $RPM_BUILD_ROOT/root mkdir -p $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build +mkdir -p $RPM_BUILD_ROOT/etc/yum.repos.d +mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update + cp genfilelist $RPM_BUILD_ROOT/sbin/e-smith cp buildtests $RPM_BUILD_ROOT/sbin/e-smith cp validate-lexicon $RPM_BUILD_ROOT/sbin/e-smith cp generate-lexicons $RPM_BUILD_ROOT/sbin/e-smith cp update-po $RPM_BUILD_ROOT/sbin/e-smith cp CreateLinks.pm $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build +cp e-smith-devtools.repo $RPM_BUILD_ROOT/etc/yum.repos.d/ + %clean rm -rf $RPM_BUILD_ROOT @@ -428,4 +470,6 @@ rm -rf $RPM_BUILD_ROOT %attr(0755,root,root) /sbin/e-smith/generate-lexicons %attr(0755,root,root) /sbin/e-smith/update-po %attr(0644,root,root) /usr/share/perl5/vendor_perl/esmith/Build/CreateLinks.pm +%attr(0755,root,root) /etc/yum.repos.d/e-smith-devtools.repo +%attr(0755,root,root) /etc/e-smith/events/%{name}-update %doc COPYING