SHA256
1
0
forked from pool/devscripts

Accepting request 1176724 from home:dimstar:Factory

- Fix minor issues:
  + Do not build devscripts main package (empty) in checkbashisms
    flavor.
  + Ensure the two flavors have different .src.rpm names, not
    overwriting each other.

OBS-URL: https://build.opensuse.org/request/show/1176724
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/devscripts?expand=0&rev=32
This commit is contained in:
Timo Jyrinki 2024-05-25 07:33:52 +00:00 committed by Git OBS Bridge
parent 0f853a5619
commit fba81c09e1
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri May 24 12:16:13 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix minor issues:
+ Do not build devscripts main package (empty) in checkbashisms
flavor.
+ Ensure the two flavors have different .src.rpm names, not
overwriting each other.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 21 10:43:58 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Tue May 21 10:43:58 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -17,9 +17,12 @@
%define flavor @BUILD_FLAVOR@%{nil} %define flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "checkbashisms"
%define name_suffix -checkbashisms
%endif
%define _xsl_stylesheet %{_datadir}/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl %define _xsl_stylesheet %{_datadir}/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl
Name: devscripts Name: devscripts%{?name_suffix}
Version: 2.22.2 Version: 2.22.2
Release: 0 Release: 0
Summary: Scripts to make the life of a Debian Package maintainer easier Summary: Scripts to make the life of a Debian Package maintainer easier
@ -152,8 +155,8 @@ fi
install -Dpm 0644 debian/changelog %{buildroot}%{_docdir}/devscripts/changelog install -Dpm 0644 debian/changelog %{buildroot}%{_docdir}/devscripts/changelog
%endif %endif
%files
%if "%{flavor}" == "" %if "%{flavor}" == ""
%files
%license debian/copyright COPYING %license debian/copyright COPYING
%doc %{_docdir}/devscripts/ %doc %{_docdir}/devscripts/
%{_bindir}/* %{_bindir}/*