Logoj0ke.net Open Build Service > Projects > server:monitoring > perl-autodie > Changes
Sign Up | Log In

Difference Between Revision 1 and devel:perl / perl-autodie

[-] Changed perl-autodie.changes
x
 
1
@@ -1,14 +1,4 @@
2
 -------------------------------------------------------------------
3
-Mon Dec 29 18:28:41 UTC 2014 - cs@linux-administrator.com
4
-
5
-- update to release 2.26 
6
-
7
--------------------------------------------------------------------
8
-Wed Dec  1 13:30:43 UTC 2010 - coolo@novell.com
9
-
10
-- switch to perl_requires macro
11
-
12
--------------------------------------------------------------------
13
 Sun May  9 17:56:35 UTC 2010 - lars@linux-schulserver.de
14
 
15
 - initial version 2.10
16
[-] Changed perl-autodie.spec ^
78
 
1
@@ -10,13 +10,16 @@
2
 Url:           http://search.cpan.org/perldoc?autodie
3
 Group:         Development/Libraries/Perl
4
 License:       Artistic License
5
-Version:       2.26
6
+Version:       2.10
7
 Release:       1
8
 Source:        %{cpan_name}-%{version}.tar.bz2
9
 BuildRequires: perl-macros
10
-Requires:  perl-parent
11
+Requires:      perl = %{perl_version}
12
 BuildRoot:     %{_tmppath}/%{name}-%{version}-build
13
-%{perl_requires}
14
+
15
+%if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version}
16
+BuildRequires: perl-macros
17
+%endif
18
 
19
 %description
20
 The autodie pragma provides a convenient way to replace functions that normally
21
@@ -40,43 +43,25 @@
22
 find . -type f -exec chmod -x {} \;
23
 
24
 %build
25
-%{__perl} Makefile.PL INSTALLDIRS="vendor" # PREFIX="%{buildroot}%{_prefix}"
26
-%{__make} %{?_smp_mflags}
27
+perl Makefile.PL 
28
+make %{?jobs:-j%jobs}
29
 
30
-%install
31
-%{__rm} -rf %{buildroot}
32
-%__make DESTDIR=%{buildroot} install
33
+%check
34
+make test
35
 
36
-# cleanup
37
-%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod \
38
-                %{buildroot}%{perl_vendorarch}/auto/autodie/.packlist
39
+%install
40
+%perl_make_install
41
+%perl_process_packlist
42
+%perl_gen_filelist
43
+%if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version}
44
+%{__rm} -rf %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist
45
+%endif
46
 
47
 %clean
48
 rm -rf %{buildroot}
49
 
50
-%files
51
+%files -f %{name}.files 
52
 %defattr(-, root, root)
53
-%doc Changes README.md MANIFEST
54
-%dir %{perl_vendorlib}/autodie
55
-%dir %{perl_vendorlib}/autodie/Scope
56
-%dir %{perl_vendorlib}/autodie/exception
57
-%{perl_vendorlib}/Fatal.pm
58
-%{perl_vendorlib}/autodie.pm
59
-%{perl_vendorlib}/autodie/Scope/Guard.pm
60
-%{perl_vendorlib}/autodie/Scope/GuardStack.pm
61
-%{perl_vendorlib}/autodie/ScopeUtil.pm
62
-%{perl_vendorlib}/autodie/exception.pm
63
-%{perl_vendorlib}/autodie/exception/system.pm
64
-%{perl_vendorlib}/autodie/hints.pm
65
-%{perl_vendorlib}/autodie/skip.pm
66
-%{_mandir}/man3/Fatal.3pm.gz
67
-%{_mandir}/man3/autodie.3pm.gz
68
-%{_mandir}/man3/autodie::Scope::Guard.3pm.gz
69
-%{_mandir}/man3/autodie::Scope::GuardStack.3pm.gz
70
-%{_mandir}/man3/autodie::ScopeUtil.3pm.gz
71
-%{_mandir}/man3/autodie::exception.3pm.gz
72
-%{_mandir}/man3/autodie::exception::system.3pm.gz
73
-%{_mandir}/man3/autodie::hints.3pm.gz
74
-%{_mandir}/man3/autodie::skip.3pm.gz
75
+%doc Changes README MANIFEST
76
 
77
 %changelog 
78
Deleted autodie-2.26.tar.bz2 ^