run 'qdep prfgen' on install [release 1.1.1-2mamba;Sun Jan 10 2021]
This commit is contained in:
parent
d37b38c009
commit
a29c77fe7c
18
qdep.spec
18
qdep.spec
@ -1,6 +1,6 @@
|
||||
Name: qdep
|
||||
Version: 1.1.1
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A very basic yet simple to use dependency management tool for qmake based projects
|
||||
Group: Applications/Development
|
||||
Vendor: openmamba
|
||||
@ -10,7 +10,7 @@ URL: https://github.com/Skycoder42/qdep
|
||||
Source: https://github.com/Skycoder42/qdep.git/%{version}/qdep-%{version}.tar.bz2
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## note: run 'autospec -u -a6 qdep' to get the list of build requirements.
|
||||
BuildRequires: python3
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: python-lockfile-py3
|
||||
Requires: python-lockfile-py3
|
||||
@ -37,6 +37,17 @@ CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%post
|
||||
if [ $1 -ge 1 ]; then
|
||||
qdep prfgen
|
||||
fi
|
||||
:
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
rm -f "$(qmake -query QT_HOST_DATA)/mkspecs/features/qdep.prf"
|
||||
fi
|
||||
:
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -45,5 +56,8 @@ sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sun Jan 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-2mamba
|
||||
- run 'qdep prfgen' on install
|
||||
|
||||
* Wed Nov 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
|
||||
- package created using the webbuild interface
|
||||
|
Loading…
Reference in New Issue
Block a user