Accepting request 184891 from home:adra:branches:devel:languages:perl:CPAN-U
New package submission: perl-URPM can be used by rpmorphan (see also SR#184890) OBS-URL: https://build.opensuse.org/request/show/184891 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-URPM?expand=0&rev=1
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 29 18:04:43 UTC 2013 - asterios.dramis@gmail.com
|
||||
|
||||
- Initial rpm release (version 4.27).
|
||||
- Added a patch (ccflags.patch) to use also perl build flags (fixes tests
|
||||
failure on i586).
|
||||
@@ -0,0 +1,68 @@
|
||||
#
|
||||
# spec file for package perl-URPM
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name URPM
|
||||
|
||||
Name: perl-URPM
|
||||
Version: 4.27
|
||||
Release: 0
|
||||
Summary: Manipulate RPM files and headers
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/URPM/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/T/TV/TVIGNAUD/%{cpan_name}-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE ccflags.patch asterios.dramis@gmail.com -- Use also perl build flags (fixes tests failure on i586)
|
||||
Patch0: ccflags.patch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(MDV::Packdrakeng) >= 1.00
|
||||
BuildRequires: rpm-devel >= 4.10.0
|
||||
# For tests
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
Requires: perl(MDV::Packdrakeng) >= 1.00
|
||||
%{perl_requires}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
The URPM module allows you to manipulate rpm files, rpm header files and
|
||||
hdlist files and manage them in memory.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch0
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
# Fix rpmlint warning "zero-length"
|
||||
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog NEWS README
|
||||
|
||||
%changelog
|
||||
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -0,0 +1 @@
|
||||
.osc
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:210448347454fc6286db095e4dbe8b5554855ef4c8faec2f8bea40539162a9bf
|
||||
size 146962
|
||||
@@ -0,0 +1,11 @@
|
||||
--- Makefile.PL.orig 2013-01-02 23:34:33.000000000 +0200
|
||||
+++ Makefile.PL 2013-07-28 17:23:17.330304366 +0300
|
||||
@@ -56,7 +56,7 @@
|
||||
push @rpmflags, "-DRPM490";
|
||||
}
|
||||
|
||||
-my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing', @rpmflags);
|
||||
+my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing', @rpmflags, $Config::Config{ccflags});
|
||||
|
||||
print "Found RPM version $version (compiling with flags: $ccflags)\n";
|
||||
|
||||
Reference in New Issue
Block a user