[perl-Data-Alias] Make Data::Alias life again.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 6815bfc1e8ca06f42d779f92db32430a1008d3a5
Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx>
Date:   Mon May 2 13:20:17 2011 +0200

    Make Data::Alias life again.
    
    Module can be built with 5.12 and in next release will be fixed
    problem with systemtap. This package should be marked as life
    in collection.

 .gitignore                 |    1 +
 Data-Alias-systemtap.patch |   20 ++++++++
 dead.package               |    1 -
 perl-Data-Alias.spec       |  113 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 5 files changed, 135 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d73d548
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/Data-Alias-1.12.tar.gz
diff --git a/Data-Alias-systemtap.patch b/Data-Alias-systemtap.patch
new file mode 100644
index 0000000..1c81fc8
--- /dev/null
+++ b/Data-Alias-systemtap.patch
@@ -0,0 +1,20 @@
+diff -up Data-Alias-1.12/Alias.xs.old Data-Alias-1.12/Alias.xs
+--- Data-Alias-1.12/Alias.xs.old	2011-02-22 21:41:15.000000000 +0100
++++ Data-Alias-1.12/Alias.xs	2011-04-14 09:33:53.391241363 +0200
+@@ -14,6 +14,7 @@
+ #include "perl.h"
+ #include "XSUB.h"
+ 
++#define RETURN_PROBE(func, file, line)
+ 
+ #ifdef USE_5005THREADS
+ #error "5.005 threads not supported by Data::Alias"
+diff -up Data-Alias-1.12/Changes.old Data-Alias-1.12/Changes
+--- Data-Alias-1.12/Changes.old	2011-04-14 10:22:19.245838939 +0200
++++ Data-Alias-1.12/Changes	2011-04-14 10:21:34.830030599 +0200
+@@ -1,3 +1,4 @@
++package NONSENSE;
+ Revision history for Perl extension Data::Alias
+ 
+ 1.12  Tue Feb 22 20:47 GMT 2011
+ 
diff --git a/perl-Data-Alias.spec b/perl-Data-Alias.spec
new file mode 100644
index 0000000..585ed4a
--- /dev/null
+++ b/perl-Data-Alias.spec
@@ -0,0 +1,113 @@
+Name:           perl-Data-Alias
+Version:        1.12
+Release:        1%{?dist}
+Summary:        Comprehensive set of aliasing operations
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Data-Alias/
+Source0:        http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Data-Alias-%{version}.tar.gz
+# http://rt.cpan.org/Public/Bug/Display.html?id=67430
+Patch0:         Data-Alias-systemtap.patch
+
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Filter::Util::Call)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Aliasing is the phenomenon where two different expressions actually refer
+to the same thing. Modifying one will modify the other, and if you take a
+reference to both, the two values are the same.
+
+%prep
+%setup -q -n Data-Alias-%{version}
+%patch0 -p1
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc README Changes
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Data*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Apr 14 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> 1.12-1
+- Specfile autogenerated by cpanspec 1.79 for new release. This package
+  was resurected for 5.12.x
+
+* Mon Dec  7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.07-6
+- rebuild against perl 5.10.1
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.07-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.07-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 1.07-3
+Rebuild for new perl
+
+* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxx> - 1.07-2
+- Autorebuild for GCC 4.3
+
+* Mon Nov 05 2007 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.07-1
+- update to 1.07
+
+* Tue Aug 21 2007 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.06-2
+- bump
+
+* Fri Aug 10 2007 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.06-1
+- update to 1.06
+- license tag: GPL -> GPL+
+
+* Fri Jun 01 2007 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.05-1
+- update to 1.05
+
+* Fri May 04 2007 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.04-1
+- update to 1.04
+- add t/ to %%doc
+- perl splittage BR's added
+
+* Mon Mar 19 2007 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.03-1
+- update to 1.03
+
+* Mon Feb 19 2007 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.02-1
+- update to 1.02
+
+* Tue Oct 03 2006 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.01-1
+- update to 1.01
+
+* Thu Aug 31 2006 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.0-3
+- bump for mass rebuild
+
+* Thu Aug 17 2006 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.0-2
+- bump for build & release
+
+* Wed Aug 16 2006 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.0-1
+- Specfile autogenerated by cpanspec 1.68.
+- Initial spec file for F-E
diff --git a/sources b/sources
new file mode 100644
index 0000000..bd17dd1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6a47e07a7f0fe6e400046aa25c322184  Data-Alias-1.12.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux