Compare commits
No commits in common. "c10" and "c8-stream-5.3" have entirely different histories.
c10
...
c8-stream-
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
Software-License-0.104006.tar.gz
|
||||
SOURCES/Software-License-0.103014.tar.gz
|
||||
|
||||
1
.perl-Software-License.metadata
Normal file
1
.perl-Software-License.metadata
Normal file
@ -0,0 +1 @@
|
||||
469fb29d865a5830caa757035cd4b28e9c2ac487 SOURCES/Software-License-0.103014.tar.gz
|
||||
@ -12,10 +12,10 @@
|
||||
%endif
|
||||
|
||||
Name: perl-Software-License
|
||||
Version: 0.104006
|
||||
Release: 4%{?dist}
|
||||
Version: 0.103014
|
||||
Release: 5%{?dist}
|
||||
Summary: Package that provides templated software licenses
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Software-License
|
||||
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/Software-License-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
@ -25,8 +25,7 @@ BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Data::Section)
|
||||
@ -52,159 +51,43 @@ BuildRequires: perl(Software::License::CCpack)
|
||||
BuildRequires: perl(Encode)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
%endif
|
||||
# Dependencies
|
||||
# (none)
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Software-License contains templates for common open source software licenses.
|
||||
|
||||
%package tests
|
||||
Summary: Tests for %{name}
|
||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Requires: perl-Test-Harness
|
||||
|
||||
%description tests
|
||||
Tests from %{name}. Execute them
|
||||
with "%{_libexecdir}/%{name}/test".
|
||||
|
||||
%prep
|
||||
%setup -q -n Software-License-%{version}
|
||||
# Help generators to recognize Perl scripts
|
||||
for F in t/*.t; do
|
||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
||||
chmod +x "$F"
|
||||
done
|
||||
|
||||
%build
|
||||
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} -c %{buildroot}
|
||||
# Install tests
|
||||
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||
# Remove test on direct files
|
||||
rm -f %{buildroot}%{_libexecdir}/%{name}/t/meta-names.t
|
||||
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||
#!/bin/sh
|
||||
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||
EOF
|
||||
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||
|
||||
%check
|
||||
%{make_build} test
|
||||
make test
|
||||
%if %{with perl_Software_License_enables_extra_test}
|
||||
%{make_build} test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
||||
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
||||
%endif
|
||||
|
||||
%files
|
||||
%if 0%{?_licensedir:1}
|
||||
%license LICENSE
|
||||
%else
|
||||
%doc LICENSE
|
||||
%endif
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Software/
|
||||
%{_mandir}/man3/Software::License.3*
|
||||
%{_mandir}/man3/Software::License::*.3*
|
||||
%{_mandir}/man3/Software::LicenseUtils.3*
|
||||
|
||||
%files tests
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.104006-4
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Wed Aug 21 2024 Michal Josef Špaček <mspacek@redhat.com> - 0.104006-3
|
||||
- Package tests
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.104006-2
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Sun Feb 11 2024 Emmanuel Seyman <emmanuel@seyman.fr> - 0.104006-1
|
||||
- Update to 0.104006
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.104005-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.104005-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Nov 26 2023 Emmanuel Seyman <emmanuel@seyman.fr> - 0.104005-1
|
||||
- Update to 0.104005
|
||||
- Use %%{make_build} and %%{make_install} where appropriate
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.104004-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed May 24 2023 Paul Howarth <paul@city-fan.org> - 0.104004-1
|
||||
- Update to 0.104004 (rhbz#2209461)
|
||||
- Rename Perl Artistic License to avoid confusion in detecting license
|
||||
|
||||
* Fri May 19 2023 Paul Howarth <paul@city-fan.org> - 0.104003-1
|
||||
- Update to 0.104003 (rhbz#2208530)
|
||||
- Add Artistic 1.0 Perl license and make Perl license use it
|
||||
- Remove extra "59" from LGPL-2.1
|
||||
- Use SPDX-format license tag
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.104002-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.104002-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jun 15 2022 Paul Howarth <paul@city-fan.org> - 0.104002-1
|
||||
- Update to 0.104002
|
||||
- Add support for ISC license
|
||||
- Add guesser for Apache license and no license
|
||||
- This release by LEONT ⇒ update source URL
|
||||
|
||||
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.104001-4
|
||||
- Perl 5.36 re-rebuild of bootstrapped packages
|
||||
|
||||
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.104001-3
|
||||
- Perl 5.36 rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.104001-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Tue Aug 3 2021 Paul Howarth <paul@city-fan.org> - 0.104001-1
|
||||
- Update to 0.104001
|
||||
- Update the text of Artistic License 1.0 to match upstream source
|
||||
- When using Apache 2.0, replace year and copyright holder
|
||||
- Improve guessing at CC0
|
||||
- Update author contact info
|
||||
- Documentation tweaks about non-core licenses and the use of
|
||||
guess_license_from_pod
|
||||
- Add "program" and "Program" arguments; this allows text generation like
|
||||
"CoolClient is license..." instead of "This software is..."
|
||||
- This release by RJBS ⇒ update source URL
|
||||
- Use %%license unconditionally
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.103014-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.103014-12
|
||||
- Perl 5.34 re-rebuild of bootstrapped packages
|
||||
|
||||
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.103014-11
|
||||
- Perl 5.34 rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.103014-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.103014-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.103014-8
|
||||
- Perl 5.32 re-rebuild of bootstrapped packages
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.103014-7
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.103014-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.103014-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
Loading…
Reference in New Issue
Block a user