From 17771a155c6ceeb4d45767e43e8b00aa271ffa98 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Mar 04 2013 08:25:41 +0000 Subject: import perl-srpm-macros-1-7.el7.src.rpm --- diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/macros.perl-srpm b/SOURCES/macros.perl-srpm new file mode 100644 index 0000000..114c422 --- /dev/null +++ b/SOURCES/macros.perl-srpm @@ -0,0 +1,17 @@ +# Copyright (c) 2012 Petr Pisar . +# This file is distributed under the terms of GNU GPL license version 3, or +# any later version. + +# This file contains macros that can be used for building source RPM package +# from git source repository. This file must present in minimal build root to +# take effect. +# This file must not use Perl or any non-minimal-build-root package. The +# purpose is to enable bootstrapping perl. + +# Perl bootstrap For rebuild of Perl and all related packages is needed +# switch, which enable only vital build requires. This could help cyclic +# dependencies, for example: perl-Test-Minimum-Version <-> +# perl-Perl-Minimum-Version Defined for bootstraping, undefined otherwise. +# Usage: %%if !%%{defined perl_bootstrap} ... %%endif +#%%perl_bootstrap 1 + diff --git a/SPECS/perl-srpm-macros.spec b/SPECS/perl-srpm-macros.spec new file mode 100644 index 0000000..4b79956 --- /dev/null +++ b/SPECS/perl-srpm-macros.spec @@ -0,0 +1,44 @@ +Name: perl-srpm-macros +Version: 1 +Release: 7%{?dist} +Summary: RPM macros for building Perl source package from source repository +Group: Development/Libraries +License: GPLv3+ +Source0: macros.perl-srpm +BuildArch: noarch + +%description +These RPM macros are used for building Perl source packages from source +repositories. They influence build-requires set into the source package. + +%install +install -m 644 -D "%{SOURCE0}" \ + "$RPM_BUILD_ROOT/%{_sysconfdir}/rpm/macros.perl-srpm" + +%files +%{_sysconfdir}/rpm/macros.perl-srpm + +%changelog +* Thu Feb 28 2013 Ralf Corsépius - 1-7 +- Remove %%config from %%{_sysconfdir}/rpm/macros.* + (https://fedorahosted.org/fpc/ticket/259). + +* Thu Feb 14 2013 Fedora Release Engineering - 1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 10 2012 Petr Pisar - 1-4 +- Disable perl_bootstrap for perl 5.16 rebuild + +* Wed Jun 06 2012 Petr Pisar - 1-3 +- Perl 5.16 rebuild + +* Wed Jun 06 2012 Petr Pisar - 1-2 +- Enable perl_bootstrap for perl 5.16 rebuild + +* Tue May 15 2012 Petr Pisar - 1-1 +- Introduce Perl SRPM macros as a standalone package + +