Compare commits
10 Commits
6c1911dfd9
...
65a9b4c439
Author | SHA256 | Date | |
---|---|---|---|
65a9b4c439 | |||
|
8811e749f0 | ||
|
6f33e192d6 | ||
|
c258a3b370 | ||
|
3b5201ee5b | ||
|
152b8e8391 | ||
|
ca2fc772b0 | ||
|
05614cf265 | ||
|
ef7ff8dcf6 | ||
|
905098d7d7 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5467a093d9fba55e3fb6c1aad35b881750487696ccb6fd463c44a824d66e57b5
|
||||
size 3134
|
3
RPM-VersionSort-1.00.tar.gz
Normal file
3
RPM-VersionSort-1.00.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c3fe527f3ca3d50ff17b8d19901baf99ae7cea2f985d9745c5c3faa1912797e
|
||||
size 3209
|
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:34:49 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 18:30:59 UTC 2010 - coolo@novell.com
|
||||
|
||||
- remove /var/adm/perl-modules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 08:39:02 UTC 2010 - coolo@novell.com
|
||||
|
||||
- add perl as explicit buildrequire
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 22 14:07:54 CET 2009 - pth@suse.de
|
||||
|
||||
|
@@ -1,39 +1,48 @@
|
||||
#
|
||||
# spec file for package perl-RPM-VersionSort (Version 1.00)
|
||||
# spec file for package perl-RPM-VersionSort
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define module_name RPM-VersionSort
|
||||
|
||||
%define cpan_name RPM-VersionSort
|
||||
Name: perl-RPM-VersionSort
|
||||
Requires: perl = %{perl_version}
|
||||
Version: 1.00
|
||||
Release: 1
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic License
|
||||
Url: http://cpan.org/modules/by-module/HTML/
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
# 1.00 -> normalize -> 1.0.0
|
||||
%define cpan_version 1.00
|
||||
License: CHECK(Artistic-1.0 or GPL-1.0-or-later)
|
||||
Summary: RPM version sorting algorithm, in perl XS
|
||||
Source: %{module_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAG/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Provides: perl(RPM::VersionSort) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
RPM uses a version number sorting algorithm for some of its decisions. It's
|
||||
RPM uses a version number sorting algorithm for some of its decisions. It's
|
||||
useful to get at this sorting algoritm for other nefarious purposes if you
|
||||
are using RPM at your site.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Daniel Hagerty, <hag@linnaean.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{module_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="%optflags -Wall"
|
||||
make
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -41,18 +50,9 @@ make test
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%files -f %{name}.files
|
||||
%doc Changes
|
||||
%doc %{_mandir}/man?/*
|
||||
%dir %{perl_vendorarch}/RPM
|
||||
%dir %{perl_vendorarch}/auto/RPM
|
||||
%{perl_vendorarch}/RPM/VersionSort.pm
|
||||
%{perl_vendorarch}/auto/RPM/VersionSort
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user