ppisar pushed to perl-SystemPerl (master). "1.344 bump"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Sep 23 11:40:07 UTC 2015
From 2f65f06f06c68b2da0003f9e063dec389d37e8cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Wed, 23 Sep 2015 13:35:11 +0200
Subject: 1.344 bump
diff --git a/.gitignore b/.gitignore
index 4ddabbc..0f69890 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
SystemPerl-1.335.tar.gz
/SystemPerl-1.336.tar.gz
+/SystemPerl-1.344.tar.gz
diff --git a/perl-SystemPerl-example.patch b/perl-SystemPerl-example.patch
deleted file mode 100644
index 2466c91..0000000
--- a/perl-SystemPerl-example.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- example/Makefile_obj 2009-03-27 20:54:18.000000000 +0100
-+++ Makefile_obj.makefile 2009-03-29 16:52:38.000000000 +0200
-@@ -13,16 +13,16 @@
- SYSTEMC_ARCH = linux
- endif
-
--SYSTEMPERL = ..
--SYSTEMPERL_INCLUDE ?= $(SYSTEMPERL)/src
-+SYSTEMPERL = /usr/include/perl-SystemPerl
-+SYSTEMPERL_INCLUDE ?= $(SYSTEMPERL)
-
- CC = g++
--INCDIR += -I. -I$(SYSTEMPERL_INCLUDE) -I$(SYSTEMC)/include -I../example
--LIBDIR += -L. -L$(SYSTEMPERL_INCLUDE) -L$(SYSTEMC)/lib-$(SYSTEMC_ARCH)
--VPATH += ../example $(SYSTEMPERL_INCLUDE)
--MAKEFILES += ../example/Makefile_obj
-+INCDIR += -I. -I$(SYSTEMPERL_INCLUDE) -I$(SYSTEMC_HOME)/include
-+LIBDIR += -L. -L$(SYSTEMPERL_INCLUDE) -L$(SYSTEMC_HOME)/lib-$(SYSTEMC_ARCH)
-+VPATH += . $(SYSTEMPERL_INCLUDE)
-+MAKEFILES += Makefile_obj
-
--SC_LIBS = -lsystemc $(SYSTEMC_LIBS)
-+SC_LIBS = -lsystemc -I$(SYSTEMC_LIBS)
- ifneq ($(wildcard $(SYSTEMC)/lib-$(SYSTEMC_ARCH)/*numeric_bit*),)
- # Systemc 1.2.1beta
- SC_LIBS += -lnumeric_bit -lqt
-@@ -30,7 +30,7 @@
-
- LIBS = $(SC_LIBS) -lm $(EXTRA_LIBS)
-
--SP_SP = $(wildcard ../example/*.sp)
-+SP_SP = $(wildcard *.sp)
- # /*AUTOTRACE*/ Looks for this
- CFLAGS += -DWAVES -DSP_COVERAGE -Wno-deprecated
-
-@@ -58,7 +58,7 @@
- # In a user example where you weren't editing sp_preproc, you could have:
- #preproc $(SP_CPP) $(SP_H): $(SP_SP)
- preproc:
-- perl ../sp_preproc $(INCDIR) $(SPPREPROC_FLAGS) $(SP_SP)
-+ perl /usr/bin/sp_preproc $(INCDIR) $(SPPREPROC_FLAGS) $(SP_SP)
-
- compile: ex_main
- ex_main: $(OBJS)
diff --git a/perl-SystemPerl.spec b/perl-SystemPerl.spec
index 916703b..e2e2f4a 100644
--- a/perl-SystemPerl.spec
+++ b/perl-SystemPerl.spec
@@ -11,8 +11,8 @@
%endif
Name: perl-SystemPerl
-Version: 1.336
-Release: 14%{?dist}
+Version: 1.344
+Release: 1%{?dist}
Summary: SystemPerl Perl module
License: LGPLv3+ or Artistic 2.0
@@ -21,17 +21,48 @@ URL: http://www.veripool.org/wiki/systemperl
Source0: http://www.cpan.org/authors/id/W/WS/WSNYDER/SystemPerl-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch0: %{name}-example.patch
+Patch0: SystemPerl-1.344-example.patch
BuildRequires: bison
+BuildRequires: coreutils
+BuildRequires: findutils
BuildRequires: flex
-BuildRequires: gdbm-devel
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl(Carp)
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Verilog::Getopt) >= 2.211
+# Run-time:
+BuildRequires: perl(Class::Struct)
+BuildRequires: perl(Config)
+BuildRequires: perl(constant)
+BuildRequires: perl(DynaLoader)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(File::Basename)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(FindBin)
+BuildRequires: perl(Getopt::Long)
+BuildRequires: perl(IO::File)
+BuildRequires: perl(lib)
+BuildRequires: perl(Pod::Usage) >= 1.34
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+BuildRequires: perl(Verilog::Getopt) >= 2.211
BuildRequires: perl(Verilog::Netlist) >= 3.200
-#BuildRequires: Pod::Usage
+BuildRequires: perl(Verilog::Netlist::Subclass)
+BuildRequires: perl(warnings)
+# Tests:
+BuildRequires: perl(Cwd)
+BuildRequires: perl(Test)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(Pod::Usage) >= 1.34
+Requires: perl(Verilog::Getopt) >= 2.211
+Requires: perl(Verilog::Netlist) >= 3.200
+Requires: perl(warnings)
+
+# Filter under-specified dependencies
+%global __provides_exclude %{?__provides_exclude:%{__provides_exclude}|}^perl\\(SystemC::Netlist::Module\\)$
+%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Pod::Usage|Verilog::Getopt|Verilog::Netlist)\\)$
%description
SystemPerl is a version of the SystemC language. It is designed to expand
@@ -42,8 +73,9 @@ time, or expanded in place to make them valid stand-alone SystemC files.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
-BuildRequires: gdbm-devel
Requires: %{name} = %{version}-%{release}
+# gcc for included standard library headers
+Requires: gcc
%description devel
The %{name}-devel package contains libraries and header files for
@@ -54,6 +86,7 @@ Summary: Elisp source files for systemc-mode under GNU Emacs
Group: Development/Libraries
BuildRequires: emacs-el
BuildRequires: emacs
+BuildRequires: pkgconfig(emacs)
Requires: emacs(bin) >= %{emacs_version}
%description -n emacs-systemc-mode
@@ -66,31 +99,11 @@ This package provides emacs support for systemc-mode
#Info: SystemC isn't in the environment
# Fedora will not shipped SystemC due to licensing issues
# SystemC patches for the user
-#%{__install} -d systemc_patches
-#%{__cp} -p patch*.diff systemc_patches
-
-#Filtering Requires: and Provides
-cat << EOF > %{name}-prov
-#!/bin/sh
-%{__perl_provides} $* |\
-sed -e '/perl(SystemC::Netlist::Module)/d'
-EOF
-
-%global __perl_provides %{_builddir}/SystemPerl-%{version}/%{name}-prov
-chmod +x %{__perl_provides}
-
-cat << \EOF > %{name}-req
-#!/bin/sh
-%{__perl_requires} $* |\
-sed -e '/perl(SystemC::Netlist::Module)/d'
-EOF
-
-%global __perl_requires %{_builddir}/SystemPerl-%{version}/%{name}-req
-chmod +x %{__perl_requires}
-
+#%%{__install} -d systemc_patches
+#%%{__cp} -p patch*.diff systemc_patches
# Prepare Makefile for Chitlesh's private SystemC rpm
-%patch0 -p0
+%patch0 -p1
%build
@@ -141,8 +154,8 @@ make test
rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-,root,root,-)
-%doc Changes COPYING README
+%license COPYING
+%doc Changes README
%doc example/
%{_bindir}/sp_includer
%{_bindir}/sp_makecheck
@@ -166,6 +179,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Sep 23 2015 Petr Pisar <ppisar at redhat.com> - 1.344-1
+- 1.344 bump
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.336-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/sources b/sources
index f4531f8..0879cf3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-aa82b0e8f579bbfa44c30d1771d8ca10 SystemPerl-1.336.tar.gz
+a6038568f08f33b9f7ef5dcbc4b1b0d9 SystemPerl-1.344.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-SystemPerl.git/commit/?h=master&id=2f65f06f06c68b2da0003f9e063dec389d37e8cd
More information about the perl-devel
mailing list