Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
OBS:Server:2.7
perl-macros
_service:format_spec_file:perl-macros.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:format_spec_file:perl-macros.spec of Package perl-macros
# # spec file for package perl-macros # # Copyright (c) 2011 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/ # # norootforbuild Name: perl-macros Summary: Perl macros for rpm build Version: 1.0 Release: 1 License: GPL Group: Development/Libraries/Perl Source0: macros.perl Source1: README BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: perl_gen_filelist %if 0%{?fedora} Requires: perl(ExtUtils::MakeMaker) Requires: perl(Test::More) Requires: perl-devel %endif Requires: perl %description This package provides perl rpm macros. You need it for building perl modules Authors: Christian Wittmer <chris@computersalat.de> %prep %{__cp} %{S:1} . %build %if 0%{?suse_version} %if %suse_version < 1140 %post # most evil hack ever - rpm does not sort the macros, so we need to rename the old one cp %{_sysconfdir}/rpm/macros.suse-perl %{_sysconfdir}/rpm/macros.perl %endif %endif %install # make sure it overwrites macros.perl if sorted alphabetically %{__install} -D -m644 %{S:0} ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm/macros.suse-perl %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %{_sysconfdir}/rpm/macros.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor