Files
perl-RPMQ/perl-RPMQ.spec

77 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-RPMQ
#
# Copyright (c) 2024 SUSE LLC
- 1.01 polished legal language --This line, and those below, will be ignored-- D RPMQ-1.0.tar.bz2 A RPMQ-1.01.tar.bz2 M perl-RPMQ.changes M perl-RPMQ.spec Diff for working copy: . Index: perl-RPMQ.changes =================================================================== --- perl-RPMQ.changes (revision 1) +++ perl-RPMQ.changes (working copy) @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 3 18:44:47 CEST 2009 - jw@suse.de + +- 1.01 polished legal language + ------------------------------------------------------------------- Wed Jun 3 13:10:53 CEST 2009 - lars@linux-schulserver.de Index: perl-RPMQ.spec =================================================================== --- perl-RPMQ.spec (revision 1) +++ perl-RPMQ.spec (working copy) @@ -1,5 +1,11 @@ # # spec file for package perl-RPMQ +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -9,8 +15,8 @@ Summary: A simple query-API for RPM-files Url: http://search.cpan.org/perldoc?RPMQ Group: Development/Libraries/Perl -License: Artistic License -Version: 1.0 +License: GPLv2.0/ArtisticV2.0 +Version: 1.01 Release: 1 Source: %{real_name}-%{version}.tar.bz2 Requires: perl = %{perl_version} Index: RPMQ-1.01.tar.bz2 =================================================================== Binary file RPMQ-1.01.tar.bz2 has changed Index: RPMQ-1.0.tar.bz2 =================================================================== Binary file RPMQ-1.0.tar.bz2 has changed OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPMQ?expand=0&rev=2
2009-06-03 16:50:11 +00:00
#
# 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/
- 1.01 polished legal language --This line, and those below, will be ignored-- D RPMQ-1.0.tar.bz2 A RPMQ-1.01.tar.bz2 M perl-RPMQ.changes M perl-RPMQ.spec Diff for working copy: . Index: perl-RPMQ.changes =================================================================== --- perl-RPMQ.changes (revision 1) +++ perl-RPMQ.changes (working copy) @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 3 18:44:47 CEST 2009 - jw@suse.de + +- 1.01 polished legal language + ------------------------------------------------------------------- Wed Jun 3 13:10:53 CEST 2009 - lars@linux-schulserver.de Index: perl-RPMQ.spec =================================================================== --- perl-RPMQ.spec (revision 1) +++ perl-RPMQ.spec (working copy) @@ -1,5 +1,11 @@ # # spec file for package perl-RPMQ +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -9,8 +15,8 @@ Summary: A simple query-API for RPM-files Url: http://search.cpan.org/perldoc?RPMQ Group: Development/Libraries/Perl -License: Artistic License -Version: 1.0 +License: GPLv2.0/ArtisticV2.0 +Version: 1.01 Release: 1 Source: %{real_name}-%{version}.tar.bz2 Requires: perl = %{perl_version} Index: RPMQ-1.01.tar.bz2 =================================================================== Binary file RPMQ-1.01.tar.bz2 has changed Index: RPMQ-1.0.tar.bz2 =================================================================== Binary file RPMQ-1.0.tar.bz2 has changed OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPMQ?expand=0&rev=2
2009-06-03 16:50:11 +00:00
#
%define cpan_name RPMQ
Name: perl-RPMQ
Version: 1.20.0
Release: 0
# 1.02 -> normalize -> 1.20.0
%define cpan_version 1.02
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Simple query-API for RPM-files
URL: https://metacpan.org/release/%{cpan_name}
Source0: RPMQ-1.02.tar.bz2
2025-08-12 18:16:55 +02:00
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
Provides: perl(RPMQ) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
Common tag names are:
"NAME" => 1000,
"VERSION" => 1001,
"RELEASE" => 1002,
"SUMMARY" => 1004,
"DESCRIPTION" => 1005,
"BUILDTIME" => 1006,
"BUILDHOST" => 1007,
"SIZE" => 1009,
"COPYRIGHT" => 1014,
"URL" => 1020,
"ARCH" => 1022,
"SOURCERPM" => 1044,
"DISTURL" => 1123,
The additional tag 'FILENAMES' is also understood by rpmq_many() and
rpmq(). It returns a list of full filenames (like OLDFILENAMES did in rpm3)
constructed from DIRNAMES, DIRINDEXES and BASENAMES.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes Makefile.old README
%changelog