Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:brianjmurrell
obs-build
_service:download_url:obs-build.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_url:obs-build.spec of Package obs-build
# Sadness, this directory is hardcoded everywhere %global _libdir /usr/lib # SUSE guys use OBS to automatically handle release numbers, # when rebasing check what they are using on # http://download.opensuse.org/repositories/openSUSE:/Tools/Fedora_28/src/ # update the obsrel to match the upstream release number %global obsrel 314.1 # Actual release %global rel 1.01 Name: obs-build Version: 20190321 Release: %{obsrel}.%{rel}%{?dist} Summary: A generic package build script License: (GPLv2 or GPLv3) and GPLv2+ URL: https://github.com/openSUSE/obs-build # Tarball retrieved from # https://build.opensuse.org/package/show/openSUSE:Tools/build Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators %if 0%{?fedora} || 0%{?rhel} >= 8 BuildRequires: python3-devel %else BuildRequires: python36-devel %endif Requires: bash, perl-interpreter, binutils, tar Requires: python3-websocket-client Provides: build = %{version}-%{release} Requires: %{name}-mkbaselibs = %{version}-%{release} %if 0%{?fedora} || 0%{?rhel} >= 8 Recommends: %{name}-mkdrpms = %{version}-%{release} %endif %description This package provides a script for building packages in a chroot environment. It is commonly used with the Open Build Service as the engine for building packages for a wide variety of distributions. %package mkbaselibs Summary: Tools to generate base library packages Provides: build-mkbaselibs = %{version}-%{release} AutoReq: no %description mkbaselibs This package contains the parts which may be installed in the inner build system for generating base library packages. %package mkdrpms Summary: Tools to generate DeltaRPMs Provides: build-mkdrpms = %{version}-%{release} Requires: deltarpm Requires: %{name} = %{version}-%{release} %description mkdrpms This package contains the parts which may be installed in the inner build system for generating DeltaRPM packages. %prep %autosetup -p1 %build # Nothing to do here %install %make_install pushd %{buildroot}%{_libdir}/build/configs/ touch default.conf test -e default.conf popd # Install man pages install -d -m 0755 %{buildroot}%{_mandir}/man1 install -m 0644 build.1* %{buildroot}%{_mandir}/man1/ install -m 0644 buildvc.1* %{buildroot}%{_mandir}/man1/ install -m 0644 unrpm.1* %{buildroot}%{_mandir}/man1/ # Fix Python shebang for openstack-console sed -e "s|#!/usr/bin/python|#!%{__python3}|" \ -i %{buildroot}%{_libdir}/build/openstack-console %files %license COPYING %doc README %{_bindir}/build %{_bindir}/buildvc %{_bindir}/unrpm %{_libdir}/build %{_mandir}/man1/build.1* %{_mandir}/man1/buildvc.1* %{_mandir}/man1/unrpm.1* %exclude %{_libdir}/build/mkbaselibs %exclude %{_libdir}/build/baselibs* %exclude %{_libdir}/build/mkdrpms %files mkbaselibs %{_libdir}/build/mkbaselibs %{_libdir}/build/baselibs* %files mkdrpms %{_libdir}/build/mkdrpms %changelog * Tue Jul 09 2019 Brian J. Murrell <brian@interlinx.bc.ca> - 20190321-314.1.1.01 - EL7 needs python36-devel, not python3-devel * Sun Mar 24 2019 Neal Gompa <ngompa13@gmail.com> - 20190321-314.1.1 - Update to new release * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180816-291.1.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Aug 23 2018 Neal Gompa <ngompa13@gmail.com> - 20180816-291.1.1 - Update to new release * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20171023-267.1.1.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20171023-267.1.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Nov 05 2017 Neal Gompa <ngompa13@gmail.com> - 20171023-267.1.1 - Update to new release * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170317-237.1.1.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jul 13 2017 Petr Pisar <ppisar@redhat.com> - 20170317-237.1.1.1 - perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> * Sat Mar 18 2017 Neal Gompa <ngompa13@gmail.com> - 20170317-237.1.1 - Update to new release * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20161025-231.1.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Oct 26 2016 Neal Gompa <ngompa13@gmail.com> - 20161025-231.1.1 - Initial import (#1381661) - Initial packaging based on SUSE and Josef Strzibny's packaging
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